mirror of
https://github.com/ProjectSWGCore/Holocore.git
synced 2026-10-17 07:02:54 -04:00
Fixed bug in ValidTarget
This commit is contained in:
@@ -25,6 +25,7 @@ public enum ValidTarget {
|
||||
}
|
||||
|
||||
public static ValidTarget getValidTarget(int num) {
|
||||
++num;
|
||||
if (num < 0 || num >= VALUES.length)
|
||||
return STANDARD;
|
||||
return VALUES[num];
|
||||
|
||||
Reference in New Issue
Block a user