mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2025-06-25 02:04:44 +02:00
Fixed UnsignedInteger flag value
This commit is contained in:
@ -133,7 +133,7 @@ public abstract class FlagValue<T> {
|
|||||||
public Integer parse(final String t) {
|
public Integer parse(final String t) {
|
||||||
try {
|
try {
|
||||||
final int value = Integer.parseInt(t);
|
final int value = Integer.parseInt(t);
|
||||||
if (value >= 0) {
|
if (value < 0) {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
return value;
|
return value;
|
||||||
|
Reference in New Issue
Block a user