Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix potential bounds exception in Smeltery.
While playing around with trying to find the max row size of a smeltery I ran into this nice bug. Desync between capacity number and temps array. Start out with this setup: http://puu.sh/icShZ/041dc26b52.jpg {underneth the seared brick is more seared brick to be a valid base} Then start digging out the trough to make the smeltery wider. If anything falls in and updates you'll get a crash and the world won't be loadable anymore. This little check allows for the smeltery to recover itself.
- Loading branch information