aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/gregtech/api/gui/GT_Slot_Render.java
diff options
context:
space:
mode:
authorShawn Buckley <shawntbuckley@gmail.com>2015-10-21 22:06:25 -0400
committerShawn Buckley <shawntbuckley@gmail.com>2015-10-21 22:06:25 -0400
commit9353aa711b1d750ff945acdfed2d3b956291b615 (patch)
treed6ca62ab093dede52afef0d82ac29d32c56fb29b /src/main/java/gregtech/api/gui/GT_Slot_Render.java
parent445e6c3f25714ecf15c07dcd3462375d65b6dc92 (diff)
downloadGT5-Unofficial-9353aa711b1d750ff945acdfed2d3b956291b615.tar.gz
GT5-Unofficial-9353aa711b1d750ff945acdfed2d3b956291b615.tar.bz2
GT5-Unofficial-9353aa711b1d750ff945acdfed2d3b956291b615.zip
Reformat code
Diffstat (limited to 'src/main/java/gregtech/api/gui/GT_Slot_Render.java')
-rw-r--r--src/main/java/gregtech/api/gui/GT_Slot_Render.java20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/main/java/gregtech/api/gui/GT_Slot_Render.java b/src/main/java/gregtech/api/gui/GT_Slot_Render.java
index 15f4c339ae..92927e284e 100644
--- a/src/main/java/gregtech/api/gui/GT_Slot_Render.java
+++ b/src/main/java/gregtech/api/gui/GT_Slot_Render.java
@@ -5,18 +5,18 @@ import net.minecraft.item.ItemStack;
import net.minecraft.tileentity.TileEntity;
public class GT_Slot_Render extends GT_Slot_Holo {
- public GT_Slot_Render(IInventory par1iInventory, int par2, int par3, int par4) {
- super(par1iInventory, par2, par3, par4, false, false, 0);
- }
-
- /**
- * NEI has a nice and "useful" Delete-All Function, which would delete the Content of this Slot. This is here to prevent that.
- */
+ public GT_Slot_Render(IInventory par1iInventory, int par2, int par3, int par4) {
+ super(par1iInventory, par2, par3, par4, false, false, 0);
+ }
+
+ /**
+ * NEI has a nice and "useful" Delete-All Function, which would delete the Content of this Slot. This is here to prevent that.
+ */
@Override
- public void putStack(ItemStack aStack) {
- if (inventory instanceof TileEntity && ((TileEntity)inventory).getWorldObj().isRemote) {
+ public void putStack(ItemStack aStack) {
+ if (inventory instanceof TileEntity && ((TileEntity) inventory).getWorldObj().isRemote) {
inventory.setInventorySlotContents(getSlotIndex(), aStack);
- }
+ }
onSlotChanged();
}
} \ No newline at end of file