[1.16.5] Dedicated server crash when using incompatible operator for input type in Lazy List Builder
karelmikie3 opened this issue ยท 2 comments
Issue type:
- ๐ Bug
Short description:
The server crashes when using an operator for the Lazy List Builder which is incompatible with the variable taken as an input.
Having looked at the code, it seems to call a client-side method for localizing the error message on the server, which in turn crashes the server as the method is not available.
I have reproduced this issue using only the offending mods.
After inserting the last variable card the server crashes immediately
And to be clear, this only happens when using a dedicated server, not in singleplayer with the integrated server.
Steps to reproduce the problem:
- Build a system of three display panels
- Make a variable of any type, a boolean for example
- Make an operator that is incompatible with the type, in this case integer increment.
- Make a 'lazybuilt' with the variable and the incompatible operator.
- Insert the variable and operator each in to one of the display panels
- Insert the 'lazybuilt' into the third panel and the server crashes immediately.
Expected behaviour:
I expected it not to crash and to display a red cross with a localized error message in the GUI (which also doesn't work when an error actually occurs in game)
Versions:
- This mod: 1.5.0
- CommonCapabilities: 2.5.6
- CyclopsCore 1.11.3
- Minecraft: 1.16.5
- Forge: 36.0.42
Log file:
Looks like #981 wasn't properly fixed yet.