Chisel

Chisel

150M Downloads

Crash when using chisel in world

gigabit101 opened this issue ยท 4 comments

commented

This dose not happen all the time and it seems to be more if holding shift
http://pastebin.com/PKRPRXgt

commented

The code at fault is:

https://github.com/Chisel-Team/Chisel/blob/1.7/dev/src/main/java/team/chisel/item/chisel/ChiselController.java#L90

In java -1 % 2 == -1

You'd need to do: idx = (i + variations.length - 1) % variations.length; or: if (--i < 0) i+= variations.length;

commented

My bad

commented

Er...whoops

commented

Fixed in 2.9.2.X