Block updates should only happen in chunks that area still loaded.

This commit is contained in:
AlgorithmX2
2014-08-23 01:24:13 -05:00
parent 4385fd8414
commit 0b58cd7d1c
+3 -1
View File
@@ -20,7 +20,9 @@ public class BlockUpdate implements Callable
@Override @Override
public Object call() throws Exception public Object call() throws Exception
{ {
w.notifyBlocksOfNeighborChange( x, y, z, Platform.air ); if ( w.blockExists( x, y, z ) )
w.notifyBlocksOfNeighborChange( x, y, z, Platform.air );
return true; return true;
} }