Closed tharrmeehan closed 2 years ago
I think I saw and fixed this in version 19 but I will look at this tomorrow and try to get a fix out if it is still happening.
As a workaround, replace the rare loot items with something more appropriate in the loot table in the configuration file.
Okay, I checked and this should be impossible closer than 95% of the maximum distance so could you 1) Run /harderfarther reportLoot and confirm you have a good loot table. If you upgraded from a prior version, maybe it's wrong somehow. 2) run /harderfarther info and confirm the maximum distance value (30,000 by default).
Going to sleep. Will check for your response tomorrow.
Problem has been fixed, just deleted the config file. Thanks for your help.
I just duplicated this in production. I think there is a bad entry in the default configuration file.
I used the same fix. I wonder if it was a bad loot table in the prior version. I need to look at the older code in GitHub.
Okay, I've located and fixed the bug. It was happening about .56% of the time. It was essentially an array overflow. I had a bad compare and it was overrunning to the first item on next loot table if it rolled maximum value.
It will be fixed in version 20 shortly.
Hello mactso
First of all thanks for this cool mod. I've recently faced an issue, where mobs killed drop their rare loot regardless of distance from world spawn. (This includes the special potions) I'm using the default config (with Grim Citadels temporarily disabled) and I haven't edited anything else. I'm using Forge 40.1.60 and the latest version of your mod.
Steps to reproduce:
Thanks for your help and kind regards