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) {
data = (data + increment) % 4;
} else if (type == BlockID.SIGN_POST) {
data = (data + increment) % 16;
data = (data + increment) % 16;
} else if (type == BlockID.WALL_SIGN) {
data = ((data + increment) - 2) % 4 + 2;
} else if (type == BlockID.STEP) {
data = (data + increment) % 3;
} else if (type == BlockID.DOUBLE_STEP) {
data = (data + increment) % 3;
data = ((data + increment) - 2) % 4 + 2;
} else if (type == BlockID.STEP) {
data = (data + increment) % 4;
} else if (type == BlockID.DOUBLE_STEP) {
data = (data + increment) % 4;
} else if (type == BlockID.FURNACE || type == BlockID.BURNING_FURNACE
|| type == BlockID.DISPENSER) {
data = (data + increment) % 4 + 2;