SimpleLogic Gates

SimpleLogic Gates

2M Downloads

Charset chests don't output comparator values

democat3457 opened this issue ยท 1 comments

commented

Charset Lib 0.5.6.4
Charset Storage Chests 0.5.6.0

Rebirth-of-the-Night/Rebirth-Of-The-Night#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

commented

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!