This condition is not needed. We're a network node. Not a tile entity. World will be non null.

This commit is contained in:
raoulvdberge
2018-06-13 01:45:06 +02:00
parent 77b3babde2
commit e37d403459

View File

@@ -86,7 +86,7 @@ public class NetworkNodeGrid extends NetworkNode implements IGridNetworkAware {
super.onContentsChanged(slot);
ItemStack pattern = getStackInSlot(slot);
if (slot == 1 && !pattern.isEmpty() && world != null) {
if (slot == 1 && !pattern.isEmpty()) {
boolean isPatternProcessing = ItemPattern.isProcessing(pattern);
if (isPatternProcessing && isProcessingPattern()) {