Ah, yes, forgot about case sensitivity

This commit is contained in:
isokissa3 2020-02-01 20:28:18 +02:00
parent 2f1529c4c8
commit 7ceace5eba

View file

@ -100,11 +100,11 @@ public class ForcedStateFlag extends Flag<ForcedState>
switch(str) switch(str)
{ {
case "allow": case "ALLOW":
return ForcedState.ALLOW; return ForcedState.ALLOW;
case "force": case "FORCE":
return ForcedState.FORCE; return ForcedState.FORCE;
case "deny": case "DENY":
return ForcedState.DENY; return ForcedState.DENY;
default: default:
return null; return null;