diff options
author | bartimaeusnek <33183715+bartimaeusnek@users.noreply.github.com> | 2020-03-17 19:08:26 +0100 |
---|---|---|
committer | bartimaeusnek <33183715+bartimaeusnek@users.noreply.github.com> | 2020-03-17 19:08:26 +0100 |
commit | ace89f8a1937f6d4671c8677d2f86ef9fdc7a660 (patch) | |
tree | 14116c8fdc798055b335c26fcbad14c0f67dc2a7 /src/main/java/gregtech/api/gui | |
parent | a80dcf7db33674c2aeab2d1cf943a07c521bdf0f (diff) | |
download | GT5-Unofficial-ace89f8a1937f6d4671c8677d2f86ef9fdc7a660.tar.gz GT5-Unofficial-ace89f8a1937f6d4671c8677d2f86ef9fdc7a660.tar.bz2 GT5-Unofficial-ace89f8a1937f6d4671c8677d2f86ef9fdc7a660.zip |
Refactored GT_Slot_Holo.java
Signed-off-by: bartimaeusnek <33183715+bartimaeusnek@users.noreply.github.com>
Diffstat (limited to 'src/main/java/gregtech/api/gui')
-rw-r--r-- | src/main/java/gregtech/api/gui/GT_Slot_Holo.java | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/main/java/gregtech/api/gui/GT_Slot_Holo.java b/src/main/java/gregtech/api/gui/GT_Slot_Holo.java index c6b577514b..22d4f091a4 100644 --- a/src/main/java/gregtech/api/gui/GT_Slot_Holo.java +++ b/src/main/java/gregtech/api/gui/GT_Slot_Holo.java @@ -7,7 +7,9 @@ import net.minecraft.item.ItemStack; public class GT_Slot_Holo extends Slot { public final int mSlotIndex; - public boolean mCanInsertItem, mCanStackItem; + public boolean + mCanInsertItem, + mCanStackItem; public int mMaxStacksize = 127; public GT_Slot_Holo(IInventory par1iInventory, int par2, int par3, int par4, boolean aCanInsertItem, boolean aCanStackItem, int aMaxStacksize) { @@ -35,7 +37,8 @@ public class GT_Slot_Holo extends Slot { @Override public ItemStack decrStackSize(int par1) { - if (!mCanStackItem) return null; + if (!mCanStackItem) + return null; return super.decrStackSize(par1); } |