diff --git a/src/main/java/org/cyclops/colossalchests/item/ItemUpgradeTool.java b/src/main/java/org/cyclops/colossalchests/item/ItemUpgradeTool.java index b9b9ac65..e0c4531b 100644 --- a/src/main/java/org/cyclops/colossalchests/item/ItemUpgradeTool.java +++ b/src/main/java/org/cyclops/colossalchests/item/ItemUpgradeTool.java @@ -107,9 +107,9 @@ protected ITextComponent attemptTransform(final World world, BlockPos pos, Playe if (blockState.getBlock() instanceof ColossalChest) { requiredCoresCount.set(requiredCoresCount.get() + 1); } else if (blockState.getBlock() instanceof Interface) { - requiredInterfacesCount.set(requiredCoresCount.get() + 1); + requiredInterfacesCount.set(requiredInterfacesCount.get() + 1); } else if (blockState.getBlock() instanceof ChestWall) { - requiredWallsCount.set(requiredCoresCount.get() + 1); + requiredWallsCount.set(requiredWallsCount.get() + 1); } return null; }, false);