summaryrefslogtreecommitdiff
path: root/ihl/processing/metallurgy/CrucibleSlot.java
diff options
context:
space:
mode:
Diffstat (limited to 'ihl/processing/metallurgy/CrucibleSlot.java')
-rw-r--r--ihl/processing/metallurgy/CrucibleSlot.java16
1 files changed, 7 insertions, 9 deletions
diff --git a/ihl/processing/metallurgy/CrucibleSlot.java b/ihl/processing/metallurgy/CrucibleSlot.java
index e0b702d..5fc6a33 100644
--- a/ihl/processing/metallurgy/CrucibleSlot.java
+++ b/ihl/processing/metallurgy/CrucibleSlot.java
@@ -3,18 +3,16 @@ package ihl.processing.metallurgy;
import net.minecraft.inventory.Slot;
import net.minecraft.item.ItemStack;
-public class CrucibleSlot extends Slot
-{
+public class CrucibleSlot extends Slot {
CrucibleInventory inventory;
- public CrucibleSlot(CrucibleInventory arg0, int arg1, int arg2, int arg3)
- {
+
+ public CrucibleSlot(CrucibleInventory arg0, int arg1, int arg2, int arg3) {
super(arg0, arg1, arg2, arg3);
- inventory=arg0;
+ inventory = arg0;
}
@Override
- public boolean isItemValid(ItemStack itemstack)
- {
- return itemstack == null ? false : inventory.isItemValidForSlot(0, itemstack);
- }
+ public boolean isItemValid(ItemStack itemstack) {
+ return itemstack != null;
+ }
}