First remove tile then node, #1050
This commit is contained in:
@@ -56,12 +56,12 @@ public abstract class BlockNode extends BlockBase {
|
|||||||
|
|
||||||
dropContents(world, pos);
|
dropContents(world, pos);
|
||||||
|
|
||||||
|
removeTile(world, pos, state);
|
||||||
|
|
||||||
manager.removeNode(pos, true);
|
manager.removeNode(pos, true);
|
||||||
|
|
||||||
API.instance().markNetworkNodesDirty(world);
|
API.instance().markNetworkNodesDirty(world);
|
||||||
|
|
||||||
removeTile(world, pos, state);
|
|
||||||
|
|
||||||
if (node.getNetwork() != null) {
|
if (node.getNetwork() != null) {
|
||||||
node.getNetwork().getNodeGraph().rebuild();
|
node.getNetwork().getNodeGraph().rebuild();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user