Botania

Botania

133M Downloads

Wand Rotation Changes Mode

natedogith1 opened this issue ยท 3 comments

commented

Rotating things via the wand of the forest shift-click functionality causes the wand to change between bind mode and function mode.

commented

I tried, I can't fix this in a way that isn't crazy hacky. Sorry.

commented

Wouldn't returning true if block.rotateBlock (at https://github.com/Vazkii/Botania/blob/master/src/main/java/vazkii/botania/common/item/ItemTwigWand.java#L86) returns true work? Or am I missing something?

commented

Yes. That's what I thought. However, block.rotateBlock returns false on clients every time, which means the right click event gets passed to the server, which changes the wand's mode.