The Bug:
The game crashes when using number providers that contain themselves inside random chance conditions.
Number providers that contain themselves directly are refused when data packs load since MC-310314 was fixed. However, ones that contain themselves as the chance of a random_chance condition are not, therefore introducing an inconsistency.
Steps to Reproduce:
Create a new world with the attached data pack.
Compute the number provider by using the command provided below.
/compute default float mojira:loopObserve if the game crashes.
Observed Behavior:
The game crashes.
Expected Behavior:
The game would not crash.