Basin comparator crash
Hexylian opened this issue ยท 1 comments
Describe the Bug
Game crashes when pumping water into a basin that is being read by a comparator
Reproduction Steps
- Place an empty basin
- Get a comparator to read the state of the basin
- Pump in water
- Server crashes
...
Expected Result
In previous versions fluid level would not be read by a comparator, I was building a potion brewing machine and tried to make use of this fact to detect when the ingredients were not longer in the basin, but it ended up crashing the game when I pumped in water.
Screenshots and Videos
Crash Report or Log
Operating System
Windows 10
Mod Version
0.5.0i
Minecraft Version
1.19.2
Other Mods
Fabric api
Additional Context
No response
Additional notes:
Placing a comparator reading out of a basin already filled with water does not cause a server crash.
Manually filling the basin being read by the comparator also does not cause a crash, only doing so with a pump does.
(edit)
Filling the basin with a deployer holding a bucket of water also crashes the server
https://pastebin.com/iyg3qXas (crash report for the deployer scenario)
(2nd edit)
Moving the basin into a position where it can be read by the comparator does not cause a crash.
(3rd edit)
The same crash also happens when emptying a basin.
It also crashes when the fluid type changes, for example when water and nether wart get mixed into an awkward potion.