This condition is not needed. We're a network node. Not a tile entity. World will be non null.
This commit is contained in:
@@ -86,7 +86,7 @@ public class NetworkNodeGrid extends NetworkNode implements IGridNetworkAware {
|
|||||||
super.onContentsChanged(slot);
|
super.onContentsChanged(slot);
|
||||||
|
|
||||||
ItemStack pattern = getStackInSlot(slot);
|
ItemStack pattern = getStackInSlot(slot);
|
||||||
if (slot == 1 && !pattern.isEmpty() && world != null) {
|
if (slot == 1 && !pattern.isEmpty()) {
|
||||||
boolean isPatternProcessing = ItemPattern.isProcessing(pattern);
|
boolean isPatternProcessing = ItemPattern.isProcessing(pattern);
|
||||||
|
|
||||||
if (isPatternProcessing && isProcessingPattern()) {
|
if (isPatternProcessing && isProcessingPattern()) {
|
||||||
|
|||||||
Reference in New Issue
Block a user