Fix power monitor reading int values where it saved long

This commit is contained in:
tterrag1098 committed 2015-01-01 16:39:28 -05:00
1 parent 5854ea02b1
commit 93684fc28e
1 file changed
+2 -2
@@ -223,8 +223,8 @@ public class TilePowerMonitor extends AbstractPowerConsumerEntity implements IIn
powerInCapBanks = nbtRoot.getLong("powerInCapBanksL");
maxPowerInCapBanks = nbtRoot.getLong("maxPowerInCapBanksL");
}
powerInMachines = nbtRoot.getInteger("powerInMachines");
maxPowerInMachines = nbtRoot.getInteger("maxPowerInMachines");
powerInMachines = nbtRoot.getLong("powerInMachines");
maxPowerInMachines = nbtRoot.getLong("maxPowerInMachines");
aveRfSent = nbtRoot.getFloat("aveRfSent");
aveRfReceived = nbtRoot.getFloat("aveRfReceived");