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,8 +53,7 @@ public class LibsDisguises extends JavaPlugin {
if (!Bukkit.getServer().getWorlds().isEmpty()) { if (!Bukkit.getServer().getWorlds().isEmpty()) {
reloaded = true; reloaded = true;
getLogger() getLogger().severe("Server was reloaded! Please do not report any bugs! This plugin can't handle " +
.severe("Lib's Disguises was reloaded! Please do not report any bugs! This plugin can't handle " +
"reloads gracefully!"); "reloads gracefully!");
return; return;
} }
@ -65,8 +64,7 @@ public class LibsDisguises extends JavaPlugin {
@Override @Override
public void onEnable() { public void onEnable() {
if (reloaded) { if (reloaded) {
getLogger() getLogger().severe("Server was reloaded! Please do not report any bugs! This plugin can't handle " +
.severe("Lib's Disguises was reloaded! Please do not report any bugs! This plugin can't handle " +
"reloads gracefully!"); "reloads gracefully!");
} }