mirror of
https://github.com/DRE2N/DungeonsXL.git
synced 2024-11-28 13:36:33 +01:00
Use IXL instead of MythicMobs in relaod message
This commit is contained in:
parent
bbe18fd15e
commit
405550b9c4
@ -85,9 +85,9 @@ public class ReloadCommand extends DRECommand {
|
|||||||
if (plugins.getPlugin("Vault") != null) {
|
if (plugins.getPlugin("Vault") != null) {
|
||||||
vault = plugins.getPlugin("Vault").getDescription().getVersion();
|
vault = plugins.getPlugin("Vault").getDescription().getVersion();
|
||||||
}
|
}
|
||||||
String mythicMobs = "";
|
String ixl = "";
|
||||||
if (plugins.getPlugin("MythicMobs") != null) {
|
if (plugins.getPlugin("ItemsXL") != null) {
|
||||||
mythicMobs = plugins.getPlugin("MythicMobs").getDescription().getVersion();
|
ixl = plugins.getPlugin("ItemsXL").getDescription().getVersion();
|
||||||
}
|
}
|
||||||
|
|
||||||
plugin.onDisable();
|
plugin.onDisable();
|
||||||
@ -97,7 +97,7 @@ public class ReloadCommand extends DRECommand {
|
|||||||
MessageUtil.sendPluginTag(sender, plugin);
|
MessageUtil.sendPluginTag(sender, plugin);
|
||||||
MessageUtil.sendCenteredMessage(sender, DMessage.CMD_RELOAD_DONE.getMessage());
|
MessageUtil.sendCenteredMessage(sender, DMessage.CMD_RELOAD_DONE.getMessage());
|
||||||
MessageUtil.sendCenteredMessage(sender, DMessage.CMD_MAIN_LOADED.getMessage(String.valueOf(maps), String.valueOf(dungeons), String.valueOf(loaded), String.valueOf(players)));
|
MessageUtil.sendCenteredMessage(sender, DMessage.CMD_MAIN_LOADED.getMessage(String.valueOf(maps), String.valueOf(dungeons), String.valueOf(loaded), String.valueOf(players)));
|
||||||
MessageUtil.sendCenteredMessage(sender, DMessage.CMD_MAIN_COMPATIBILITY.getMessage(String.valueOf(internals), vault, mythicMobs));
|
MessageUtil.sendCenteredMessage(sender, DMessage.CMD_MAIN_COMPATIBILITY.getMessage(String.valueOf(internals), vault, ixl));
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -72,9 +72,9 @@ public class ReloadCommandNoSpigot extends DRECommand {
|
|||||||
if (plugins.getPlugin("Vault") != null) {
|
if (plugins.getPlugin("Vault") != null) {
|
||||||
vault = plugins.getPlugin("Vault").getDescription().getVersion();
|
vault = plugins.getPlugin("Vault").getDescription().getVersion();
|
||||||
}
|
}
|
||||||
String mythicMobs = "";
|
String ixl = "";
|
||||||
if (plugins.getPlugin("MythicMobs") != null) {
|
if (plugins.getPlugin("ItemsXL") != null) {
|
||||||
mythicMobs = plugins.getPlugin("MythicMobs").getDescription().getVersion();
|
ixl = plugins.getPlugin("ItemsXL").getDescription().getVersion();
|
||||||
}
|
}
|
||||||
|
|
||||||
plugin.onDisable();
|
plugin.onDisable();
|
||||||
@ -84,7 +84,7 @@ public class ReloadCommandNoSpigot extends DRECommand {
|
|||||||
MessageUtil.sendPluginTag(sender, plugin);
|
MessageUtil.sendPluginTag(sender, plugin);
|
||||||
MessageUtil.sendCenteredMessage(sender, DMessage.CMD_RELOAD_DONE.getMessage());
|
MessageUtil.sendCenteredMessage(sender, DMessage.CMD_RELOAD_DONE.getMessage());
|
||||||
MessageUtil.sendCenteredMessage(sender, DMessage.CMD_MAIN_LOADED.getMessage(String.valueOf(maps), String.valueOf(dungeons), String.valueOf(loaded), String.valueOf(players)));
|
MessageUtil.sendCenteredMessage(sender, DMessage.CMD_MAIN_LOADED.getMessage(String.valueOf(maps), String.valueOf(dungeons), String.valueOf(loaded), String.valueOf(players)));
|
||||||
MessageUtil.sendCenteredMessage(sender, DMessage.CMD_MAIN_COMPATIBILITY.getMessage(String.valueOf(internals), vault, mythicMobs));
|
MessageUtil.sendCenteredMessage(sender, DMessage.CMD_MAIN_COMPATIBILITY.getMessage(String.valueOf(internals), vault, ixl));
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user