Small fix for rotating wall signs

This commit is contained in:
Tony 2011-04-03 20:53:58 -05:00
parent cdc011eb2d
commit 4ed1082309

View File

@ -66,7 +66,7 @@ public boolean act(ServerInterface server, LocalConfiguration config,
} else if (type == BlockID.SIGN_POST) {
data = (data + 1) % 16;
} else if (type == BlockID.WALL_SIGN) {
data = (data + 1) % 4;
if(data == 2) data = 5; else data--;
} else if (type == BlockID.STEP) {
data = (data + 1) % 3;
} else if (type == BlockID.DOUBLE_STEP) {