The Bug:
The server becomes unresponsive and eventually crashes when using /loot with binomial distributions that have extremely large numbers of trials.
Steps to Reproduce:
Spawn items from a loot table whose item count uses a binomial distribution with an extremely large number of trials by using the command provided below.
/loot spawn ~ ~ ~ loot {pools:[{rolls:100,entries:[{type:"item",name:"stone",modifier:{type:"set_count",count:{type:"binomial",n:2147483647,p:0}}}]}]}Try to perform actions like throwing items on the ground and observe how the server is unresponsive.
Observed Behavior:
The server becomes unresponsive and eventually crashes.
Expected Behavior:
The server would not become unresponsive or crash.
Comments 0
No comments.