From c164213edcc3b06c9c1f0b08dc446112f2baa37d Mon Sep 17 00:00:00 2001 From: raoulvdberge Date: Tue, 19 Jun 2018 16:14:56 +0200 Subject: [PATCH] Fixed the Crafter crashing when opening it while connected to a Primal Tech Grill or Kiln. Fixes #1776 --- CHANGELOG.md | 1 + .../refinedstorage/apiimpl/network/node/NetworkNodeCrafter.java | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8baf8544c..932f006c5 100755 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -19,6 +19,7 @@ NOTE: Worlds that used Refined Storage 1.5.x are fully compatible with Refined S - Fixed bug where pattern was recipe pattern was creatable when there was no recipe output (raoulvdberge) - Fixed a crash when breaking an Ender IO conduit with the Destructor (raoulvdberge) - Fixed bug where storage disks in Portable Grids could be moved into themselves (raoulvdberge) +- Fixed the Crafter crashing when opening it while connected to a Primal Tech Grill or Kiln (raoulvdberge) - Added a missing config option for Crafter Manager energy usage (raoulvdberge) - If an Interface is configured to expose the entire network storage (by configuring no export slots), it will no longer expose the entire RS storage, due to performance issues (raoulvdberge) - The Portable Grid no longer exposes a inventory for crossmod interaction, due to performance issues (raoulvdberge) diff --git a/src/main/java/com/raoulvdberge/refinedstorage/apiimpl/network/node/NetworkNodeCrafter.java b/src/main/java/com/raoulvdberge/refinedstorage/apiimpl/network/node/NetworkNodeCrafter.java index d79d19831..bd121cf8d 100755 --- a/src/main/java/com/raoulvdberge/refinedstorage/apiimpl/network/node/NetworkNodeCrafter.java +++ b/src/main/java/com/raoulvdberge/refinedstorage/apiimpl/network/node/NetworkNodeCrafter.java @@ -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(); }