mirror of
https://github.com/TotalFreedomMC/TF-WorldGuardExtraFlagsPlugin.git
synced 2024-06-16 08:21:22 +00:00
Ah, yes, forgot about case sensitivity
This commit is contained in:
parent
2f1529c4c8
commit
7ceace5eba
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue