Right mouse button now goes 'back' on the color and redstone mode buttons.

This commit is contained in:
CrazyPants committed 2014-09-12 22:57:06 +08:00
1 parent b74904c6be
commit decdd3a87b
3 files changed
+60 -4

No files matched your search

@@ -47,4 +47,13 @@ public enum RedstoneControlMode {
return values()[ord];
}
public RedstoneControlMode previous() {
int ord = ordinal();
ord--;
if(ord < 0) {
ord = values().length - 1;
}
return values()[ord];
}
}