ArchitectureCraft - TridentMC Version

ArchitectureCraft - TridentMC Version

25M Downloads

[1.12.2][3.107][server] Crash - EnumShape.getLocalizedShapeName() uses client-only class (net/minecraft/client/resources/I18n)

TigerWalts opened this issue ยท 0 comments

commented

This crash was triggered by a shape in a Logistics Pipe:

java.lang.NoClassDefFoundError: net/minecraft/client/resources/I18n
    at com.elytradev.architecture.common.shape.EnumShape.getLocalizedShapeName(EnumShape.java:300)
    at com.elytradev.architecture.common.shape.ItemShape.getItemStackDisplayName(ItemShape.java:156)
    at logisticspipes.utils.item.ItemIdentifier.getName(ItemIdentifier.java:440)
    at logisticspipes.utils.item.ItemIdentifier.getFriendlyName(ItemIdentifier.java:445)
    at logisticspipes.utils.item.ItemIdentifier.toString(ItemIdentifier.java:632)
    at logisticspipes.utils.item.ItemIdentifierStack.toString(ItemIdentifierStack.java:101)
   ...

public String getLocalizedShapeName(){
return I18n.format(this.translationKey);
}