[Bug] Crystallizer going over max stack count
BloodWorkXGaming opened this issue · 4 comments
Goes over 64 and then wraps around to -127 again
http://prnt.sc/f1eizr
Missing max Stack Size check in this line:
https://github.com/Shinoow/AbyssalCraft/blob/master/src/main/java/com/shinoow/abyssalcraft/common/blocks/tile/TileEntityCrystallizer.java#L300
The Stack Size check is done here:
https://github.com/Shinoow/AbyssalCraft/blob/master/src/main/java/com/shinoow/abyssalcraft/common/blocks/tile/TileEntityCrystallizer.java#L281
But the logic above needs some tuning so that it doesn't return true until the stack size check. Couldn't get it to wrap in my dev env, just kept incrementing the stack size (while it continued to showed 64).
Could be that 1.11.2 handles the wrapping differently, resulting in the stack size increasing without it visually looking like it is (as I ran my test in 1.11.2).