diff options
author | Muramasa <haydenkilloh@gmail.com> | 2016-08-14 07:19:03 +0100 |
---|---|---|
committer | Muramasa <haydenkilloh@gmail.com> | 2016-08-14 07:19:03 +0100 |
commit | e85097319b9cdaf765cfa86102a872922c52ef09 (patch) | |
tree | 1915b1f14a286968aadcf5ee997230b9b6977f3a /src/main/java/gregtech/common/gui | |
parent | 19062e1d36700f9f0a7ed95daa80bc4c4578241f (diff) | |
download | GT5-Unofficial-e85097319b9cdaf765cfa86102a872922c52ef09.tar.gz GT5-Unofficial-e85097319b9cdaf765cfa86102a872922c52ef09.tar.bz2 GT5-Unofficial-e85097319b9cdaf765cfa86102a872922c52ef09.zip |
Bugfixes 7
Diffstat (limited to 'src/main/java/gregtech/common/gui')
-rw-r--r-- | src/main/java/gregtech/common/gui/GT_Container_Boiler.java | 2 | ||||
-rw-r--r-- | src/main/java/gregtech/common/gui/GT_Container_Regulator.java | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/main/java/gregtech/common/gui/GT_Container_Boiler.java b/src/main/java/gregtech/common/gui/GT_Container_Boiler.java index 4a74a43fca..758ccd8d83 100644 --- a/src/main/java/gregtech/common/gui/GT_Container_Boiler.java +++ b/src/main/java/gregtech/common/gui/GT_Container_Boiler.java @@ -13,7 +13,7 @@ import java.util.Iterator; public class GT_Container_Boiler
extends GT_ContainerMetaTile_Machine {
- private final int mSteamCapacity;
+ private int mSteamCapacity = 0;//FB: UR - UR_UNINIT_READ_CALLED_FROM_SUPER_CONSTRUCTOR
public int mWaterAmount = 0;
public int mSteamAmount = 0;
public int mProcessingEnergy = 0;
diff --git a/src/main/java/gregtech/common/gui/GT_Container_Regulator.java b/src/main/java/gregtech/common/gui/GT_Container_Regulator.java index b2aefe011b..212c32453c 100644 --- a/src/main/java/gregtech/common/gui/GT_Container_Regulator.java +++ b/src/main/java/gregtech/common/gui/GT_Container_Regulator.java @@ -77,7 +77,7 @@ public class GT_Container_Regulator }
return null;
}
- if ((aSlotIndex >= 9) && (aSlotIndex < 18)) {
+ if ((aSlotIndex > 8) && (aSlotIndex < 18)) {
ItemStack tStack = aPlayer.inventory.getItemStack();
if (tStack != null) {
tSlot.putStack(GT_Utility.copy(new Object[]{tStack}));
@@ -96,7 +96,7 @@ public class GT_Container_Regulator }
return null;
}
- if ((aSlotIndex >= 18) && (aSlotIndex < 27)) {
+ if ((aSlotIndex > 17) && (aSlotIndex < 27)) {
((GT_MetaTileEntity_Regulator) this.mTileEntity.getMetaTileEntity()).mTargetSlots[(aSlotIndex - 18)] = Math.min(99, Math.max(0, ((GT_MetaTileEntity_Regulator) this.mTileEntity.getMetaTileEntity()).mTargetSlots[(aSlotIndex - 18)] + (aMouseclick == 0 ? -1 : 1) * (aShifthold == 0 ? 1 : 16)));
return null;
}
|