Reverse a boolean check

This commit is contained in:
libraryaddict 2020-02-21 14:45:11 +13:00
parent 9d873dc1b9
commit 1d6e1c57b7
No known key found for this signature in database
GPG Key ID: 052E4FBCD257AEA4

View File

@ -32,13 +32,13 @@ public class LibsDisguises extends JavaPlugin {
public void onLoad() { public void onLoad() {
instance = this; instance = this;
if (Bukkit.getServer().getWorlds().isEmpty()) { if (!Bukkit.getServer().getWorlds().isEmpty()) {
reloaded = true;
return; return;
} }
WatcherSanitizer.init(); WatcherSanitizer.init();
reloaded = true;
getLogger().severe("Lib's Disguises was reloaded! Please do not report any bugs! This plugin can't handle " + getLogger().severe("Lib's Disguises was reloaded! Please do not report any bugs! This plugin can't handle " +
"reloads gracefully!"); "reloads gracefully!");
} }