Change reloaded message to make it more obvious
This commit is contained in:
parent
36a2bc37c1
commit
a896d89633
@ -53,9 +53,8 @@ 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,9 +64,8 @@ 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!");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!new File(getDataFolder(), "disguises.yml").exists()) {
|
if (!new File(getDataFolder(), "disguises.yml").exists()) {
|
||||||
|
Loading…
Reference in New Issue
Block a user