fix more ConstructorNetworkNode duping (#2633)

This commit is contained in:
Darkere
2020-07-27 21:59:26 +02:00
committed by GitHub
parent 1b2348b022
commit 67b0fa2d02

View File

@@ -118,7 +118,7 @@ public class ConstructorNetworkNode extends NetworkNode implements IComparable,
);
ActionResultType result = ForgeHooks.onPlaceItemIntoWorld(ctx);
if (result == ActionResultType.SUCCESS) {
if (result.isSuccessOrConsume()) {
network.extractItem(stack, 1, Action.PERFORM);
}
} else if (upgrades.hasUpgrade(UpgradeItem.Type.CRAFTING)) {