mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-30 13:14:06 +01:00
Fixed UnsignedInteger flag value
This commit is contained in:
parent
91b7b41cfc
commit
294c11a534
@ -133,7 +133,7 @@ public abstract class FlagValue<T> {
|
||||
public Integer parse(final String t) {
|
||||
try {
|
||||
final int value = Integer.parseInt(t);
|
||||
if (value >= 0) {
|
||||
if (value < 0) {
|
||||
return null;
|
||||
}
|
||||
return value;
|
||||
|
Loading…
Reference in New Issue
Block a user