Clean up the disguise runnable a bit for some more sanity, it's so ugly.

This commit is contained in:
libraryaddict
2020-06-13 21:52:52 +12:00
parent e12222ca26
commit 32bab36731
3 changed files with 177 additions and 177 deletions

View File

@@ -1280,6 +1280,10 @@ public class DisguiseUtilities {
file.delete();
}
public static void doDisguiseTick(Disguise disguise) {
}
public static void removeSelfDisguise(Disguise disguise) {
if (!Bukkit.isPrimaryThread())
throw new IllegalStateException("Cannot modify disguises on an async thread");