[mc1279] - player.trap
LadyCailinBot opened this issue ยท 2 comments
CRAFTBOOK-2937 - Reported by Andy_S
src/main/java/com/sk89q/craftbook/circuits/gates/world/entity/PlayerTrap.java
3rd line expects an ampersand (ie 5&20) but &n is color code; modify to = sign.
46 - damage = Integer.parseInt(RegexUtil.AMPERSAND_PATTERN.split(getSign().getLine(2))[1]);
46 + damage = Integer.parseInt(RegexUtil.EQUALS_PATTERN.split(getSign().getLine(2))[2]);
Comment by me4502
Hrm, okay. I'll add this, but I'll also need to add a converter