diff options
author | Alkalus <3060479+draknyte1@users.noreply.github.com> | 2019-05-12 11:09:03 +1000 |
---|---|---|
committer | Alkalus <3060479+draknyte1@users.noreply.github.com> | 2019-05-12 11:09:03 +1000 |
commit | e5193543b16561e0f6b13ba0a347d94092d8a9b4 (patch) | |
tree | 3eb027829664acf287f4338e0023d416606296b4 /src/Java/gtPlusPlus/api/thermal/energy | |
parent | 4109c9575dd6d8a89f03e1242493dca228255570 (diff) | |
download | GT5-Unofficial-e5193543b16561e0f6b13ba0a347d94092d8a9b4.tar.gz GT5-Unofficial-e5193543b16561e0f6b13ba0a347d94092d8a9b4.tar.bz2 GT5-Unofficial-e5193543b16561e0f6b13ba0a347d94092d8a9b4.zip |
+ Thermal Boiler now pulls lava filters from an input bus.
+ Added some minor GUI functions to GregtechMeta_MultiBlockBase.
+ Added some new Reflection functions.
Diffstat (limited to 'src/Java/gtPlusPlus/api/thermal/energy')
-rw-r--r-- | src/Java/gtPlusPlus/api/thermal/energy/ThermalStorage.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Java/gtPlusPlus/api/thermal/energy/ThermalStorage.java b/src/Java/gtPlusPlus/api/thermal/energy/ThermalStorage.java index 22a47b2807..9c7bb0066c 100644 --- a/src/Java/gtPlusPlus/api/thermal/energy/ThermalStorage.java +++ b/src/Java/gtPlusPlus/api/thermal/energy/ThermalStorage.java @@ -24,7 +24,7 @@ public class ThermalStorage implements IThermalStorage { } public ThermalStorage readFromNBT(NBTTagCompound arg0) { - this.thermal_energy = arg0.getInteger("Energy"); + this.thermal_energy = arg0.getInteger("ThermalEnergy"); if (this.thermal_energy > this.capacity) { this.thermal_energy = this.capacity; } @@ -35,7 +35,7 @@ public class ThermalStorage implements IThermalStorage { if (this.thermal_energy < 0) { this.thermal_energy = 0; } - arg0.setInteger("Energy", this.thermal_energy); + arg0.setInteger("ThermalEnergy", this.thermal_energy); return arg0; } |