mirror of
https://github.com/Creators-of-Create/Create.git
synced 2024-12-14 14:33:48 +01:00
Super empty fluid
- Fix NPE with hose pulley - Update Forge and Registrate
This commit is contained in:
parent
c1ba7683a7
commit
3c87044dc5
2 changed files with 4 additions and 2 deletions
|
@ -6,7 +6,7 @@ org.gradle.daemon = false
|
||||||
# mod version info
|
# mod version info
|
||||||
mod_version = 0.4.1
|
mod_version = 0.4.1
|
||||||
minecraft_version = 1.18.2
|
minecraft_version = 1.18.2
|
||||||
forge_version = 40.0.19
|
forge_version = 40.0.34
|
||||||
|
|
||||||
# build dependency versions
|
# build dependency versions
|
||||||
forgegradle_version = 5.1.+
|
forgegradle_version = 5.1.+
|
||||||
|
@ -18,7 +18,7 @@ cursegradle_version = 1.4.0
|
||||||
parchment_version = 2022.03.13
|
parchment_version = 2022.03.13
|
||||||
|
|
||||||
# dependency versions
|
# dependency versions
|
||||||
registrate_version = MC1.18.2-1.0.24
|
registrate_version = MC1.18.2-1.0.25
|
||||||
flywheel_version = 1.18-0.6.2.64
|
flywheel_version = 1.18-0.6.2.64
|
||||||
jei_minecraft_version = 1.18.2
|
jei_minecraft_version = 1.18.2
|
||||||
jei_version = 9.5.3.143
|
jei_version = 9.5.3.143
|
||||||
|
|
|
@ -213,6 +213,8 @@ public abstract class FluidManipulationBehaviour extends TileEntityBehaviour {
|
||||||
}
|
}
|
||||||
|
|
||||||
protected boolean canDrainInfinitely(Fluid fluid) {
|
protected boolean canDrainInfinitely(Fluid fluid) {
|
||||||
|
if (fluid == null)
|
||||||
|
return false;
|
||||||
return maxBlocks() != -1 && AllConfigs.SERVER.fluids.bottomlessFluidMode.get().test(fluid);
|
return maxBlocks() != -1 && AllConfigs.SERVER.fluids.bottomlessFluidMode.get().test(fluid);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue