aboutsummaryrefslogtreecommitdiff
path: root/src/Java/gtPlusPlus/api/thermal/energy
diff options
context:
space:
mode:
Diffstat (limited to 'src/Java/gtPlusPlus/api/thermal/energy')
-rw-r--r--src/Java/gtPlusPlus/api/thermal/energy/ThermalStorage.java4
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;
}