DerFrZocker / Ore-Control

Ore-Control is a Spigot plugin, with which you can manipulated the default Minecraft Ore-Generation. For Minecraft Version 1.18 and higher.
MIT License
20 stars 10 forks source link

Chunkload error due to ore control #31

Open ClickinqRanger opened 1 month ago

ClickinqRanger commented 1 month ago

Hello, I've been using ore control to test a few things and had an issue where the server would crash upon loading a chunk. After testing I've fixed this issue but also noticed a bug on your end that originally caused it.

It is to do with the "targets" option (in this case coal upper) when I set a target blockstate and close the menu I cannot reopen it without causing a console error, this was also the thing that then caused the faulty chunk being loaded. image

I'll also include the .json file (it was for specific world, then mushroom fields then ore_coal_upper.json) that was faulty. I think if it broke we shouldn't be able to set it at all, but maybe I did something wrong. ore_coal_upper.json

Hope all the info I gave let's you recreate the error! If not let me know.