Closed democat3457 closed 3 years ago
Charset Lib 0.5.6.4 Charset Storage Chests 0.5.6.0
https://github.com/Rebirth-of-the-Night/Rebirth-Of-The-Night/issues/390
Could be caused by this line because the Math.min method returns an int, creating integer division that should always add 0 to value. https://github.com/CharsetMC/Charset/blob/1.12-stable/src/main/java/pl/asie/charset/lib/utils/redstone/RedstoneUtils.java#L63
Math.min
int
value
Fixed in 0.5.6.5. I am mostly retired from Minecraft modding, but with your diagnosis of the problem (and IntelliJ adding a warning for it, I suppose), the fix was trivial. Thank you!
Charset Lib 0.5.6.4 Charset Storage Chests 0.5.6.0
https://github.com/Rebirth-of-the-Night/Rebirth-Of-The-Night/issues/390
Could be caused by this line because the
Math.min
method returns anint
, creating integer division that should always add 0 tovalue
. https://github.com/CharsetMC/Charset/blob/1.12-stable/src/main/java/pl/asie/charset/lib/utils/redstone/RedstoneUtils.java#L63