Skip to content

Commit

Permalink
fix compat for core update (server_flagged)
Browse files Browse the repository at this point in the history
  • Loading branch information
mcmonkey4eva committed Oct 3, 2020
1 parent a0046ee commit ea6132b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
Expand Up @@ -582,7 +582,7 @@ public boolean matches(ScriptPath path) {
if (!runAutomaticPlayerSwitches(path)) {
return false;
}
return true;
return super.matches(path);
}

// <--[language]
Expand Down
Expand Up @@ -273,6 +273,11 @@ else if (arg.indexOf('@') == 2) {
return flag;
}

@Override
public boolean serverHasFlag(String flag) {
return FlagManager.serverHasFlag(flag);
}

@Override
public TagContext getTagContext(ScriptContainer container) {
return new BukkitTagContext(container);
Expand Down

0 comments on commit ea6132b

Please sign in to comment.