Skip to content

Commit

Permalink
Add preTag impl to fix plugins like FAWE being dumb
Browse files Browse the repository at this point in the history
  • Loading branch information
mcmonkey4eva committed May 27, 2018
1 parent c72420d commit b7fcf2d
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions plugin/src/main/java/net/aufdemrand/denizen/Denizen.java
Expand Up @@ -1677,6 +1677,16 @@ public Thread getMainThread() {
public boolean allowedToWebget() {
return Settings.allowWebget();
}

@Override
public void preTagExecute() {
try {
org.spigotmc.AsyncCatcher.enabled = false;
}
catch (Throwable e) {
dB.echoError("Running not-Spigot?!");
}
}
}


0 comments on commit b7fcf2d

Please sign in to comment.