Skip to content
Success

Changes

Summary

  1. Update ArmorProxyClient.java (details)
  2. Fix potential bounds exception in Smeltery. (details)
Commit 935b378b6bea59252ff45abe2092229efa3b649b by tahgtahv
Update ArmorProxyClient.java

init statics with new objects, instead of uninitialized data from playerStats
The file was modifiedsrc/main/java/tconstruct/armor/ArmorProxyClient.java (diff)
Commit 25c54b40d3a8726db9e77d8cd8ef0d98f91124b8 by LexManos
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.
The file was modifiedsrc/main/java/tconstruct/smeltery/logic/SmelteryLogic.java (diff)