Skip to content

Commit

Permalink
fix WG link build
Browse files Browse the repository at this point in the history
  • Loading branch information
mcmonkey4eva committed May 14, 2019
1 parent 22373f2 commit 7ad447c
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,8 @@ private WorldGuardPlayerExtension(dPlayer player) {
Player player = null;
WorldGuardPlugin wgp = null;

// The original flag-reference without fuzziness
private StateFlag getStateFlag(String s) {
Flag flag = Flags.get(s);
Flag flag = Flags.fuzzyMatchFlag(WorldGuard.getInstance().getFlagRegistry(), s);
return flag instanceof StateFlag ? (StateFlag) flag : null;
}

Expand Down

0 comments on commit 7ad447c

Please sign in to comment.