mirror of
https://github.com/GTNewHorizons/EnderIO.git
synced 2026-11-18 19:39:14 +00:00
Right mouse button now goes 'back' on the color and redstone mode buttons.
This commit is contained in:
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];
|
||||
}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user