From b9687d01a0d7bbbd91743bdf1a8dd22939caab61 Mon Sep 17 00:00:00 2001 From: thatsIch Date: Tue, 30 Sep 2014 15:22:31 +0200 Subject: [PATCH] Replaced all instances of hasContainerItem with its ItemStack version when it had @Override --- src/main/java/appeng/block/crafting/ItemCraftingStorage.java | 2 +- src/main/java/appeng/items/storage/ItemBasicStorageCell.java | 2 +- .../java/appeng/items/tools/quartz/ToolQuartzCuttingKnife.java | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/appeng/block/crafting/ItemCraftingStorage.java b/src/main/java/appeng/block/crafting/ItemCraftingStorage.java index df5f180e..ef422665 100644 --- a/src/main/java/appeng/block/crafting/ItemCraftingStorage.java +++ b/src/main/java/appeng/block/crafting/ItemCraftingStorage.java @@ -15,7 +15,7 @@ public class ItemCraftingStorage extends AEBaseItemBlock } @Override - public boolean hasContainerItem() + public boolean hasContainerItem(ItemStack stack) { return AEConfig.instance.isFeatureEnabled( AEFeature.enableDisassemblyCrafting ); } diff --git a/src/main/java/appeng/items/storage/ItemBasicStorageCell.java b/src/main/java/appeng/items/storage/ItemBasicStorageCell.java index 082613f7..cbf9f11f 100644 --- a/src/main/java/appeng/items/storage/ItemBasicStorageCell.java +++ b/src/main/java/appeng/items/storage/ItemBasicStorageCell.java @@ -239,7 +239,7 @@ public class ItemBasicStorageCell extends AEBaseItem implements IStorageCell, II } @Override - public boolean hasContainerItem() + public boolean hasContainerItem(ItemStack stack) { return AEConfig.instance.isFeatureEnabled( AEFeature.enableDisassemblyCrafting ); } diff --git a/src/main/java/appeng/items/tools/quartz/ToolQuartzCuttingKnife.java b/src/main/java/appeng/items/tools/quartz/ToolQuartzCuttingKnife.java index 7900c306..7d3d322f 100644 --- a/src/main/java/appeng/items/tools/quartz/ToolQuartzCuttingKnife.java +++ b/src/main/java/appeng/items/tools/quartz/ToolQuartzCuttingKnife.java @@ -45,7 +45,7 @@ public class ToolQuartzCuttingKnife extends AEBaseItem implements IGuiItem } @Override - public boolean hasContainerItem() + public boolean hasContainerItem(ItemStack stack) { return true; }