mirror of
https://github.com/TotalFreedomMC/TF-PlotSquared.git
synced 2025-02-12 03:59:22 +00:00
Fixed UnsignedInteger flag value
This commit is contained in:
parent
91b7b41cfc
commit
294c11a534
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue