aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/gtPlusPlus/xmod/gregtech/api/metatileentity/implementations
diff options
context:
space:
mode:
authormiozune <miozune@gmail.com>2023-06-05 20:32:40 +0900
committerGitHub <noreply@github.com>2023-06-05 13:32:40 +0200
commit15d2695ee7bff87106c20ee16645506c4fe5f4c4 (patch)
treeadc77a4746c848a016bc067bec5c2fcb3e0efce8 /src/main/java/gtPlusPlus/xmod/gregtech/api/metatileentity/implementations
parent747415464a0e9d7d7a3cfbaeeeccf2b8ce952c87 (diff)
downloadGT5-Unofficial-15d2695ee7bff87106c20ee16645506c4fe5f4c4.tar.gz
GT5-Unofficial-15d2695ee7bff87106c20ee16645506c4fe5f4c4.tar.bz2
GT5-Unofficial-15d2695ee7bff87106c20ee16645506c4fe5f4c4.zip
Fix steam hatch not working for some people (#655)
Diffstat (limited to 'src/main/java/gtPlusPlus/xmod/gregtech/api/metatileentity/implementations')
-rw-r--r--src/main/java/gtPlusPlus/xmod/gregtech/api/metatileentity/implementations/base/GT_MetaTileEntity_Hatch_CustomFluidBase.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/gtPlusPlus/xmod/gregtech/api/metatileentity/implementations/base/GT_MetaTileEntity_Hatch_CustomFluidBase.java b/src/main/java/gtPlusPlus/xmod/gregtech/api/metatileentity/implementations/base/GT_MetaTileEntity_Hatch_CustomFluidBase.java
index 1aa319652f..8848319d75 100644
--- a/src/main/java/gtPlusPlus/xmod/gregtech/api/metatileentity/implementations/base/GT_MetaTileEntity_Hatch_CustomFluidBase.java
+++ b/src/main/java/gtPlusPlus/xmod/gregtech/api/metatileentity/implementations/base/GT_MetaTileEntity_Hatch_CustomFluidBase.java
@@ -186,7 +186,7 @@ public class GT_MetaTileEntity_Hatch_CustomFluidBase extends GT_MetaTileEntity_H
@Override
public boolean isFluidInputAllowed(final FluidStack aFluid) {
- return aFluid.getFluid() == this.mLockedFluid;
+ return this.mLockedFluid.getName().equals(aFluid.getFluid().getName());
}
@Override