Reverse a boolean check
This commit is contained in:
parent
9d873dc1b9
commit
1d6e1c57b7
@ -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!");
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user