From 294c11a534e0495ce5a42043c6d836a07f422f21 Mon Sep 17 00:00:00 2001 From: boy0001 Date: Fri, 20 Mar 2015 23:10:37 +1100 Subject: [PATCH] Fixed UnsignedInteger flag value --- .../main/java/com/intellectualcrafters/plot/flag/FlagValue.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PlotSquared/src/main/java/com/intellectualcrafters/plot/flag/FlagValue.java b/PlotSquared/src/main/java/com/intellectualcrafters/plot/flag/FlagValue.java index ac7b91ed0..7a13427f0 100644 --- a/PlotSquared/src/main/java/com/intellectualcrafters/plot/flag/FlagValue.java +++ b/PlotSquared/src/main/java/com/intellectualcrafters/plot/flag/FlagValue.java @@ -133,7 +133,7 @@ public abstract class FlagValue { public Integer parse(final String t) { try { final int value = Integer.parseInt(t); - if (value >= 0) { + if (value < 0) { return null; } return value;