Closed frank89722 closed 3 years ago
Thanks, will look into it.
It seems like only happened when replacing "minecraft:lapis_ore" in the json file, but this is only valid in only vanilla ores in the config.
I have tried to remove lapis ore in the setting for my large modpack with other moded ores in it, but it still not work.
Hope this information is helpful to you!
Yes, had the same bug for Create. Still struggling how to fix it, but I can hard code a temporary workaround
Maybe could move the adding event to high priority, and split the removing part to a low priority event? 🤔
Also, quark seems like having the same issue. If you decide to code a temporary workaround, it would be nice to having quark support.
All the best!
I fixed it, found the issue.
There is a loop grabbing the ore from the ore gen feature, and I check if the block != null. If yes I remove that feature. But the block is never set back to null at the start / end of the loop and will therefore remove all the next entries. I lost sleep over this simple little issue and took me days to debug..
I moved the Block targetBlock = null;
inside the loop and now everything works fine.
I consider this issue now fixed. Thank you for your bug report. Patch can be found here: https://www.curseforge.com/minecraft/mc-mods/ore-tweaker/files/3307868
Forge version: 36.1.16 OreTweaker version: 2.0.1 ZYcraft: https://github.com/nikita488/ZYCraft
All configs are default
Before OreTweaker installed:
After: