aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/gtPlusPlus/xmod/gregtech/common
diff options
context:
space:
mode:
authorHoleFish <48403212+HoleFish@users.noreply.github.com>2024-08-31 01:48:23 +0800
committerGitHub <noreply@github.com>2024-08-30 17:48:23 +0000
commit9fee35c065e197199f57ef1df31ac303e94d1d50 (patch)
tree66437da0c2422d10ddfc9211040ebbd180af5f54 /src/main/java/gtPlusPlus/xmod/gregtech/common
parent55ebcb3bdf0f54b76642c03b3a58112081138c10 (diff)
downloadGT5-Unofficial-9fee35c065e197199f57ef1df31ac303e94d1d50.tar.gz
GT5-Unofficial-9fee35c065e197199f57ef1df31ac303e94d1d50.tar.bz2
GT5-Unofficial-9fee35c065e197199f57ef1df31ac303e94d1d50.zip
Add duration since last shutdown (#2977)
* machine message * fix & prass channel * machine message * fix & prass channel * fix machines that dont use regular onPostTick * follow error fixes and fix hatch check * oops * sa --------- Co-authored-by: Martin Robertz <dream-master@gmx.net> Co-authored-by: boubou19 <miisterunknown@gmail.com>
Diffstat (limited to 'src/main/java/gtPlusPlus/xmod/gregtech/common')
-rw-r--r--src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/production/algae/GregtechMTE_AlgaePondBase.java5
-rw-r--r--src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/storage/GregtechMetaTileEntity_PowerSubStationController.java2
2 files changed, 0 insertions, 7 deletions
diff --git a/src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/production/algae/GregtechMTE_AlgaePondBase.java b/src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/production/algae/GregtechMTE_AlgaePondBase.java
index 17e1093b71..7e5200e16c 100644
--- a/src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/production/algae/GregtechMTE_AlgaePondBase.java
+++ b/src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/production/algae/GregtechMTE_AlgaePondBase.java
@@ -319,11 +319,6 @@ public class GregtechMTE_AlgaePondBase extends GregtechMeta_MultiBlockBase<Gregt
}
@Override
- public void onPostTick(IGregTechTileEntity aBaseMetaTileEntity, long aTick) {
- super.onPostTick(aBaseMetaTileEntity, aTick);
- }
-
- @Override
public void onPreTick(IGregTechTileEntity aBaseMetaTileEntity, long aTick) {
super.onPreTick(aBaseMetaTileEntity, aTick);
// Silly Client Syncing
diff --git a/src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/storage/GregtechMetaTileEntity_PowerSubStationController.java b/src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/storage/GregtechMetaTileEntity_PowerSubStationController.java
index 0270dfea37..13bef7c885 100644
--- a/src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/storage/GregtechMetaTileEntity_PowerSubStationController.java
+++ b/src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/storage/GregtechMetaTileEntity_PowerSubStationController.java
@@ -517,7 +517,6 @@ public class GregtechMetaTileEntity_PowerSubStationController extends
aNBT.setLong("mTotalEnergyAdded", this.mTotalEnergyAdded);
aNBT.setLong("mTotalEnergyLost", this.mTotalEnergyLost);
aNBT.setLong("mTotalEnergyConsumed", this.mTotalEnergyConsumed);
- aNBT.setLong("mTotalRunTime", this.mTotalRunTime);
aNBT.setBoolean("mIsOutputtingPower", this.mIsOutputtingPower);
aNBT.setLong("mBatteryCapacity", this.mBatteryCapacity);
super.saveNBTData(aNBT);
@@ -543,7 +542,6 @@ public class GregtechMetaTileEntity_PowerSubStationController extends
this.mTotalEnergyAdded = aNBT.getLong("mTotalEnergyAdded");
this.mTotalEnergyLost = aNBT.getLong("mTotalEnergyLost");
this.mTotalEnergyConsumed = aNBT.getLong("mTotalEnergyConsumed");
- this.mTotalRunTime = aNBT.getLong("mTotalRunTime");
this.mIsOutputtingPower = aNBT.getBoolean("mIsOutputtingPower");