Leather Works

Leather Works

367k Downloads

Using chisels and bits on debarked logs changes their orientation

stohun01 opened this issue ยท 3 comments

commented

Wood in the east-west direction is converted to up-down when chiseled. This issue doesn't seem to effect sealed barrels.
chiseled_logs

commented

Submit this to https://github.com/AlgorithmX2/Chisels-and-Bits/issues because I can't see why that would happen

commented

https://github.com/MinecraftModDevelopmentMods/LeatherWorks/blob/master/src/main/java/panda/leatherworks/common/block/BlockDebarkedLog.java#L62

I believe is the issue, getMetaFromState, and getStateFromMeta are not balanced, X converts to 0, but 0 is EnumAxis.Y. Y on the hand is missing from the switch ( and suppressed ) and also returns 0.

commented

Thanks, AlgorithmX2. Fixed in 1.76.0+