Fixed 43 and 44 block data cycling

This commit is contained in:
zml2008 2011-08-28 20:46:54 -07:00
parent 04dd21d51a
commit d83fed13fb

View File

@ -74,13 +74,13 @@ public class BlockDataCyler implements DoubleActionBlockTool {
} else if (type == BlockID.WOODEN_STAIRS || type == BlockID.COBBLESTONE_STAIRS) { } else if (type == BlockID.WOODEN_STAIRS || type == BlockID.COBBLESTONE_STAIRS) {
data = (data + increment) % 4; data = (data + increment) % 4;
} else if (type == BlockID.SIGN_POST) { } else if (type == BlockID.SIGN_POST) {
data = (data + increment) % 16; data = (data + increment) % 16;
} else if (type == BlockID.WALL_SIGN) { } else if (type == BlockID.WALL_SIGN) {
data = ((data + increment) - 2) % 4 + 2; data = ((data + increment) - 2) % 4 + 2;
} else if (type == BlockID.STEP) { } else if (type == BlockID.STEP) {
data = (data + increment) % 3; data = (data + increment) % 4;
} else if (type == BlockID.DOUBLE_STEP) { } else if (type == BlockID.DOUBLE_STEP) {
data = (data + increment) % 3; data = (data + increment) % 4;
} else if (type == BlockID.FURNACE || type == BlockID.BURNING_FURNACE } else if (type == BlockID.FURNACE || type == BlockID.BURNING_FURNACE
|| type == BlockID.DISPENSER) { || type == BlockID.DISPENSER) {
data = (data + increment) % 4 + 2; data = (data + increment) % 4 + 2;