Framed Rail Slopes crashes the game (& server) with Quark installed
LeumiiPix opened this issue · 2 comments
• Minecraft Version: 1.18.2
• Forge Version: v40.1.0
• FramedBlocks Version: v5.1.0
• Quark Version: v3.2-349
• AutoRegLib Version: v1.7-53
Pushing a Framed Rail Slope in front of another Framed Rail Slope with Quark installed via a piston will crash the game.
This will also crash servers.
Crash logs for both client and server:
crash-2022-04-23_20.26.43-client.txt
crash-2022-04-23_20.28.58-server.txt
Expected result: The block will just pop off and become an entity when pushed.
Actual result: A hard crash of whatever server this happened on, including single player.
I theorize this only happens because Quark changes how pistons work by default. This does not happen when FramedBlocks is ran by itself, as the block can't be pushed.
Yeah, this is caused indirectly by Quark allowing you to move the block into a position you wouldn't be able to normally.
The crash is caused by the game trying to set the rail shape property to a shape that is disallowed, it's trying to lay the rail flat. When you place the block by hand, this is prevented by only allowing you to place the rail slope against a solid block (like the grass blocks in your screenshot).
I am going to add a temporary fix for this until a Forge PR is merged which fixes this properly.