Fixed the Crafter crashing when opening it while connected to a Primal Tech Grill or Kiln. Fixes #1776
This commit is contained in:
@@ -218,7 +218,7 @@ public class NetworkNodeCrafter extends NetworkNode implements ICraftingPatternC
|
||||
|
||||
TileEntity facing = getConnectedTile();
|
||||
|
||||
if (facing instanceof IWorldNameable) {
|
||||
if (facing instanceof IWorldNameable && ((IWorldNameable) facing).getName() != null) {
|
||||
return ((IWorldNameable) facing).getName();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user