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
1 changed files with 2 additions and 2 deletions

View File

@ -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!");
}