If the animalsDensity is set to 0 it can cause an IllegalArgumentException when spawning entities
LXGaming opened this issue · 4 comments
Describe the bug
I discovered this issue while debugging a crash in 'Life in the village' modpack.
If the animalsDensity
or mobsDensity
are set to zero in the config then the multiplier
will calculated to zero which means the spawn weight will also be calculated to zero this will later cause an IllegalArgumentException when Minecraft attempts to spawn the entity.
Crash Logs
Same crash as #3
I ve changed but now i have another problem with a mod Unknown
Il mar 26 nov 2019, 14:56 Alex Thomson <[email protected]> ha
scritto:
… @Mat323232 <https://github.com/Mat323232> Simply change Animals Density
back to 100 in the config, Any value lower than that has the chance to
trigger the crash.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#87>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AN4GDK2E33FVI3EPHLE5GTTQVUTH3ANCNFSM4JKRVQFQ>
.
@Mat323232 Simply change Animals Density
back to 100
in the config, Any value lower than that has the chance to trigger the crash.