Fixed the Crafter crashing when opening it while connected to a Primal Tech Grill or Kiln. Fixes #1776

This commit is contained in:
raoulvdberge
2018-06-19 16:14:56 +02:00
parent 2f691814f4
commit c164213edc
2 changed files with 2 additions and 1 deletions

View File

@@ -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();
}