WildChests
WildChests copied to clipboard
Make broken chests stack their items, to reduce lag.
Normal chests did not appear to use any stacking, this PR creates a map of items and calculates how many items there are total, then drops items into as large a stack as is allowed.
This has been successfully tested by a mutual user of ours and it has helped with large amounts of items being dropped to the ground causing the player lag.
I implemented it in my own way, so it is more robust. Check out latest dev build, and if you have issues, make sure you report them.
Thanks for your contribution!