Create

Create

86M Downloads

the server crashes if the Hose Pulley is used `Cannot create a fluidstack from a null fluid`

Valeryn4 opened this issue · 0 comments

commented

Describe the Bug

If the Hose Pulley pumps water too fast at the boundaries of the chunk, the server crashes.

the player installed the pump at the junction of the chunks. With 256 revolutions.
Снимок экрана 2023-06-20 195103
Снимок экрана 2023-06-20 195056

When neighboring chunks are unloaded/loaded, the server crashes.

Reproduction Steps

  1. Put the pump with max-rpm at the junction of the chunks.
    2.try to enter and move away from the pump, so that some of the chunks are unloaded and loaded.
    3.CRASH
    ...

Expected Result

I expect that it should work normally and not fall.

Screenshots and Videos

see up

Crash Report or Log

java.lang.IllegalArgumentException: Cannot create a fluidstack from a null fluid
	at net.minecraftforge.fluids.FluidStack.<init>(FluidStack.java:64) ~[forge-1.19.2-43.2.0-universal.jar%23262!/:?] {re:classloading}
	at com.simibubi.create.content.fluids.transfer.FluidManipulationBehaviour.playEffect(FluidManipulationBehaviour.java:205) ~[create-1.19.2-0.5.1.b.jar%23222!/:0.5.1.b] {re:classloading}
	at com.simibubi.create.content.fluids.transfer.FluidDrainingBehaviour.pullNext(FluidDrainingBehaviour.java:91) ~[create-1.19.2-0.5.1.b.jar%23222!/:0.5.1.b] {re:classloading}
	at com.simibubi.create.content.fluids.hosePulley.HosePulleyFluidHandler.drainInternal(HosePulleyFluidHandler.java:75) ~[create-1.19.2-0.5.1.b.jar%23222!/:0.5.1.b] {re:classloading}
	at com.simibubi.create.content.fluids.hosePulley.HosePulleyFluidHandler.drain(HosePulleyFluidHandler.java:65) ~[create-1.19.2-0.5.1.b.jar%23222!/:0.5.1.b] {re:classloading}
	at com.simibubi.create.content.fluids.FlowSource.provideFluid(FlowSource.java:31) ~[create-1.19.2-0.5.1.b.jar%23222!/:0.5.1.b] {re:classloading}
	at com.simibubi.create.content.fluids.PipeConnection.manageFlows(PipeConnection.java:120) ~[create-1.19.2-0.5.1.b.jar%23222!/:0.5.1.b] {re:classloading,pl:runtimedistcleaner:A}
	at com.simibubi.create.content.fluids.FluidTransportBehaviour.tick(FluidTransportBehaviour.java:132) ~[create-1.19.2-0.5.1.b.jar%23222!/:0.5.1.b] {re:classloading}
	at java.util.HashMap$Values.forEach(HashMap.java:1065) ~[?:?] {}
	at com.simibubi.create.foundation.blockEntity.SmartBlockEntity.forEachBehaviour(SmartBlockEntity.java:180) ~[create-1.19.2-0.5.1.b.jar%23222!/:0.5.1.b] {re:classloading,re:mixin}
	at com.simibubi.create.foundation.blockEntity.SmartBlockEntity.tick(SmartBlockEntity.java:83) ~[create-1.19.2-0.5.1.b.jar%23222!/:0.5.1.b] {re:classloading,re:mixin}
	at com.simibubi.create.foundation.blockEntity.SmartBlockEntityTicker.m_155252_(SmartBlockEntityTicker.java:15) ~[create-1.19.2-0.5.1.b.jar%23222!/:0.5.1.b] {re:classloading}
	at net.minecraft.world.level.chunk.LevelChunk$BoundTickingBlockEntity.m_142224_(LevelChunk_BoundTickingBlockEntityMixin.java:687) ~[server-1.19.2-20220805.130853-srg.jar%23257!/:?] {re:mixin,re:classloading,pl:mixin:APP:mixins.arclight.core.json:world.level.chunk.LevelChunk_BoundTickingBlockEntityMixin,pl:mixin:A}
	at net.minecraft.world.level.chunk.LevelChunk$RebindableTickingBlockEntityWrapper.m_142224_(LevelChunk.java:780) ~[server-1.19.2-20220805.130853-srg.jar%23257!/:?] {re:classloading}
	at net.minecraft.world.level.Level.m_46463_(LevelMixin.java:446) ~[server-1.19.2-20220805.130853-srg.jar%23257!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:mixins.arclight.core.json:world.level.LevelMixin,pl:mixin:APP:citadel.mixins.json:LevelMixin,pl:mixin:A,re:mixin,pl:accesstransformer:B}
	at net.minecraft.server.level.ServerLevel.m_8793_(ServerLevelMixin.java:331) ~[server-1.19.2-20220805.130853-srg.jar%23257!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:mixins.arclight.core.json:server.level.ServerLevelMixin,pl:mixin:APP:citadel.mixins.json:ServerLevelMixin,pl:mixin:APP:supplementaries-common.mixins.json:ServerLevelMixin,pl:mixin:APP:assets/sound_physics_remastered/sound_physics_remastered.mixins.json:ServerWorldMixin,pl:mixin:APP:mixins.arclight.impl.forge.optimization.json:activationrange.ServerWorldMixin_ActivationRange,pl:mixin:APP:create.mixins.json:accessor.ServerLevelAccessor,pl:mixin:A,pl:arclight_implementer:async,pl:arclight_implementer:A,re:mixin,pl:accesstransformer:B}
	at net.minecraft.server.MinecraftServer.m_5703_(MinecraftServerMixin.java:866) ~[server-1.19.2-20220805.130853-srg.jar%23257!/:?] {re:mixin,pl:accesstransformer:B,re:computing_frames,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:mixins.arclight.core.json:server.MinecraftServerMixin,pl:mixin:APP:citadel.mixins.json:MinecraftServerMixin,pl:mixin:A,re:mixin,pl:accesstransformer:B}
	at net.minecraft.server.dedicated.DedicatedServer.m_5703_(DedicatedServerMixin.java:292) ~[server-1.19.2-20220805.130853-srg.jar%23257!/:?] {re:mixin,pl:accesstransformer:B,re:computing_frames,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:mixins.arclight.core.json:server.dedicated.DedicatedServerMixin,pl:mixin:A}
	at net.minecraft.server.MinecraftServer.m_5705_(MinecraftServerMixin.java:806) ~[server-1.19.2-20220805.130853-srg.jar%23257!/:?] {re:mixin,pl:accesstransformer:B,re:computing_frames,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:mixins.arclight.core.json:server.MinecraftServerMixin,pl:mixin:APP:citadel.mixins.json:MinecraftServerMixin,pl:mixin:A,re:mixin,pl:accesstransformer:B}
	at net.minecraft.server.MinecraftServer.m_130011_(MinecraftServerMixin.java:2127) ~[server-1.19.2-20220805.130853-srg.jar%23257!/:?] {re:mixin,pl:accesstransformer:B,re:computing_frames,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:mixins.arclight.core.json:server.MinecraftServerMixin,pl:mixin:APP:citadel.mixins.json:MinecraftServerMixin,pl:mixin:A,re:mixin,pl:accesstransformer:B}
	at net.minecraft.server.MinecraftServer.m_206580_(MinecraftServerMixin.java:244) ~[server-1.19.2-20220805.130853-srg.jar%23257!/:?] {re:mixin,pl:accesstransformer:B,re:computing_frames,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:mixins.arclight.core.json:server.MinecraftServerMixin,pl:mixin:APP:citadel.mixins.json:MinecraftServerMixin,pl:mixin:A,re:mixin,pl:accesstransformer:B}
	at java.lang.Thread.run(Thread.java:833) [?:?] {re:mixin,re:mixin}

Operating System

Windows server

Mod Version

0.5.1b

Minecraft Version

1.19.2

Forge Version

forge-1.19.2-43.2.0

Other Mods

No response

Additional Context

No response