From 1d6e1c57b705f1e827e166898a69565109888c16 Mon Sep 17 00:00:00 2001 From: libraryaddict Date: Fri, 21 Feb 2020 14:45:11 +1300 Subject: [PATCH] Reverse a boolean check --- src/main/java/me/libraryaddict/disguise/LibsDisguises.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/me/libraryaddict/disguise/LibsDisguises.java b/src/main/java/me/libraryaddict/disguise/LibsDisguises.java index 2582867b..9e8f24b9 100644 --- a/src/main/java/me/libraryaddict/disguise/LibsDisguises.java +++ b/src/main/java/me/libraryaddict/disguise/LibsDisguises.java @@ -32,13 +32,13 @@ public class LibsDisguises extends JavaPlugin { public void onLoad() { instance = this; - if (Bukkit.getServer().getWorlds().isEmpty()) { + if (!Bukkit.getServer().getWorlds().isEmpty()) { + reloaded = true; return; } WatcherSanitizer.init(); - reloaded = true; getLogger().severe("Lib's Disguises was reloaded! Please do not report any bugs! This plugin can't handle " + "reloads gracefully!"); }