Change reloaded message to make it more obvious

This commit is contained in:
libraryaddict 2020-04-21 14:46:46 +12:00
parent 36a2bc37c1
commit a896d89633
No known key found for this signature in database
GPG Key ID: 052E4FBCD257AEA4

View File

@ -53,9 +53,8 @@ public class LibsDisguises extends JavaPlugin {
if (!Bukkit.getServer().getWorlds().isEmpty()) {
reloaded = true;
getLogger()
.severe("Lib's Disguises was reloaded! Please do not report any bugs! This plugin can't handle " +
"reloads gracefully!");
getLogger().severe("Server was reloaded! Please do not report any bugs! This plugin can't handle " +
"reloads gracefully!");
return;
}
@ -65,9 +64,8 @@ public class LibsDisguises extends JavaPlugin {
@Override
public void onEnable() {
if (reloaded) {
getLogger()
.severe("Lib's Disguises was reloaded! Please do not report any bugs! This plugin can't handle " +
"reloads gracefully!");
getLogger().severe("Server was reloaded! Please do not report any bugs! This plugin can't handle " +
"reloads gracefully!");
}
if (!new File(getDataFolder(), "disguises.yml").exists()) {