File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
src/main/java/com/nuclyon/technicallycoded/inventoryrollback/nms Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change 11package com .nuclyon .technicallycoded .inventoryrollback .nms ;
22
3- import com .nuclyon .technicallycoded .inventoryrollback .InventoryRollbackPlus ;
4-
53public enum EnumNmsVersion {
64 v1_8_R1 ,
75 v1_8_R2 ,
@@ -21,11 +19,11 @@ public enum EnumNmsVersion {
2119 v1_17_R1 ;
2220
2321 public boolean isAtLeast (EnumNmsVersion version ) {
24- return InventoryRollbackPlus . getInstance (). getVersion () .ordinal () >= version .ordinal ();
22+ return this .ordinal () >= version .ordinal ();
2523 }
2624
2725 public boolean isNoHigherThan (EnumNmsVersion version ) {
28- return InventoryRollbackPlus . getInstance (). getVersion () .ordinal () <= version .ordinal ();
26+ return this .ordinal () <= version .ordinal ();
2927 }
3028
3129 public boolean isWithin (EnumNmsVersion versionLow , EnumNmsVersion versionHigh ) {
You can’t perform that action at this time.
0 commit comments