Fix minor bug with storage monitor fix

This commit is contained in:
raoulvdberge
2017-04-27 23:19:31 +02:00
parent 005e523e24
commit 1d19587435

View File

@@ -128,7 +128,7 @@ public class NetworkNodeStorageMonitor extends NetworkNode implements IComparabl
}
public void extract(EntityPlayer player, EnumFacing side) {
if (type != IType.ITEMS || network != null || holder.getDirection() != side) {
if (type != IType.ITEMS || network == null || holder.getDirection() != side) {
return;
}