First remove tile then node, #1050

This commit is contained in:
raoulvdberge
2017-04-05 01:49:10 +02:00
parent 0e6e497b73
commit 5481026fa9

View File

@@ -56,12 +56,12 @@ public abstract class BlockNode extends BlockBase {
dropContents(world, pos);
removeTile(world, pos, state);
manager.removeNode(pos, true);
API.instance().markNetworkNodesDirty(world);
removeTile(world, pos, state);
if (node.getNetwork() != null) {
node.getNetwork().getNodeGraph().rebuild();
}