BYG + Dynmap - placing plant in pot crashes server
Xyclade opened this issue ยท 1 comments
Issue Description: Dynmap sample issue description. This description would include as much and as little detail necessary for us to understand the issue in its entirety.
- Dynmap Version: Dynmap-3.1-beta5-forge-1.16.3.
- Server Version: forge-1.16.4-35.1.13
- Pastebin of Configuration.txt: https://pastebin.com/5SETL3z2
- Server Host (if applicable): Selfhosted
- Pastebin of crashlogs or other relevant logs: https://paste.ee/p/d5hTo
- Other Relevant Data/Screenshots: Reproducable with only Forge + Dynmap + byg-1.1.5
- Steps to Replicate: Create a clean server with Dynmap + forge + BYG, place a flower pot and then try to plant a BYG plant, for example a bistort. Server will crash. Note that in single player without Dynmap the texture of the bistort is not working properly. I have filed Potion-Studios/BYG#220 for this in the BYG repo
[X] I have looked at all other issues and this is not a duplicate
[X] I have been able to replicate this
Yep - we're seeing an invalid block state when we handle the update event for that block. This is a 'this should never happen' thing, so I suspect BYG is doing something funky with the block state data. That said, I've added a defensive check for this error that should avoid the problem - should be in beta6