fix ConstructorNetworkNode not extracting on placement (#2584)
This commit is contained in:
@@ -120,7 +120,7 @@ public class ConstructorNetworkNode extends NetworkNode implements IComparable,
|
|||||||
|
|
||||||
ActionResultType result = ForgeHooks.onPlaceItemIntoWorld(ctx);
|
ActionResultType result = ForgeHooks.onPlaceItemIntoWorld(ctx);
|
||||||
if (result == ActionResultType.SUCCESS) {
|
if (result == ActionResultType.SUCCESS) {
|
||||||
network.extractItem(took, 1, Action.PERFORM);
|
network.extractItem(stack, 1, Action.PERFORM);
|
||||||
}
|
}
|
||||||
} else if (upgrades.hasUpgrade(UpgradeItem.Type.CRAFTING)) {
|
} else if (upgrades.hasUpgrade(UpgradeItem.Type.CRAFTING)) {
|
||||||
ItemStack craft = itemFilters.getStackInSlot(0);
|
ItemStack craft = itemFilters.getStackInSlot(0);
|
||||||
|
|||||||
Reference in New Issue
Block a user