Crash when table_bonus loot condition has empty chances list
Summary
table_bonus loot condition does not validate that chances list has an entry. When that list is empty, testing the loot condition triggers an error or (in case of an explosion) a crash.
Steps to Reproduce
- Add the attached data pack. (Works with both 1.20.4 and 24w11a.)
- Explode a stone block with TNT.
Expected Result
The game does not crash.
Actual Result
The game crashes.
2024-03-15, 05:08 PM
2024-04-11, 02:12 PM
2024-04-11, 02:12 PM
2
1