aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLyfts <127234178+Lyfts@users.noreply.github.com>2023-07-11 19:21:49 +0200
committerGitHub <noreply@github.com>2023-07-11 19:21:49 +0200
commit395eec3625db2819f61953aaa268106cb3c4045a (patch)
tree9975015e2061fe8c3bbbcb6f5dd49bbbe898fdf2
parent2baadebf9e7dded8fe751e0fe9ee39274925706b (diff)
downloadGT5-Unofficial-395eec3625db2819f61953aaa268106cb3c4045a.tar.gz
GT5-Unofficial-395eec3625db2819f61953aaa268106cb3c4045a.tar.bz2
GT5-Unofficial-395eec3625db2819f61953aaa268106cb3c4045a.zip
Advanced boiler steam capacity fix (#686)
* Advanced boiler steam capacity fix Been broken for 2 years now it works as anticipated. * Update dependencies --------- Co-authored-by: Wilhelm Schuster <dev@rot13.io>
-rw-r--r--dependencies.gradle12
-rw-r--r--src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/generators/GT_MetaTileEntity_Boiler_Base.java12
2 files changed, 7 insertions, 17 deletions
diff --git a/dependencies.gradle b/dependencies.gradle
index 751d06ddea..e577e11788 100644
--- a/dependencies.gradle
+++ b/dependencies.gradle
@@ -1,19 +1,19 @@
dependencies {
- api('com.github.GTNewHorizons:GT5-Unofficial:5.09.43.80:dev')
- api("com.github.GTNewHorizons:bartworks:0.7.17:dev")
+ api('com.github.GTNewHorizons:GT5-Unofficial:5.09.43.123:dev')
+ api("com.github.GTNewHorizons:bartworks:0.7.27:dev")
implementation('curse.maven:cofh-core-69162:2388751')
// https://www.curseforge.com/minecraft/mc-mods/advancedsolarpanels
implementation('curse.maven:advsolar-362768:2885953')
compileOnly('com.github.GTNewHorizons:Baubles:1.0.1.16:dev') {transitive=false}
- compileOnly('com.github.GTNewHorizons:EnderCore:0.2.14:dev') {transitive=false}
+ compileOnly('com.github.GTNewHorizons:EnderCore:0.2.16:dev') {transitive=false}
compileOnly('com.github.GTNewHorizons:SC2:2.0.2:dev') {transitive=false}
- compileOnly('com.github.GTNewHorizons:Binnie:2.1.2:dev') {transitive = false}
+ compileOnly('com.github.GTNewHorizons:Binnie:2.1.6:dev') {transitive = false}
compileOnly('curse.maven:PlayerAPI-228969:2248928') {transitive=false}
compileOnly('thaumcraft:Thaumcraft:1.7.10-4.2.3.5:dev') {transitive=false}
- compileOnly('com.github.GTNewHorizons:Chisel:2.11.0-GTNH:dev') {transitive=false}
+ compileOnly('com.github.GTNewHorizons:Chisel:2.11.3-GTNH:dev') {transitive=false}
- runtimeOnly('com.github.GTNewHorizons:ForestryMC:4.6.7:dev') {transitive=false}
+ runtimeOnly('com.github.GTNewHorizons:ForestryMC:4.6.10:dev') {transitive=false}
}
diff --git a/src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/generators/GT_MetaTileEntity_Boiler_Base.java b/src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/generators/GT_MetaTileEntity_Boiler_Base.java
index 402065f7a9..ee85b16f5f 100644
--- a/src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/generators/GT_MetaTileEntity_Boiler_Base.java
+++ b/src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/generators/GT_MetaTileEntity_Boiler_Base.java
@@ -172,6 +172,7 @@ public class GT_MetaTileEntity_Boiler_Base extends GT_MetaTileEntity_Boiler {
}
// This type of machine can have different water and steam capacities.
+ @Override
public int getSteamCapacity() {
return 2 * getCapacity();
}
@@ -213,17 +214,6 @@ public class GT_MetaTileEntity_Boiler_Base extends GT_MetaTileEntity_Boiler {
}
@Override
- protected void produceSteam(int aAmount) {
- super.produceSteam(aAmount);
-
- if (mSteam.amount > getSteamCapacity()) {
- sendSound(SOUND_EVENT_LET_OFF_EXCESS_STEAM);
-
- mSteam.amount = getSteamCapacity();
- }
- }
-
- @Override
// Since this type of machine can have different water and steam capacities, we need to override getTankInfo() to
// support returning those different capacities.
public FluidTankInfo[] getTankInfo(ForgeDirection aSide) {