mirror of
https://github.com/darksaid98/Carbon.git
synced 2026-12-01 22:15:08 +00:00
Small bug fixes
This commit is contained in:
1 parent
ad496703f7
commit
0db5260cdc
2 files changed
+8
-5
No files matched your search
@@ -153,19 +153,22 @@ public class ChannelManager {
|
||||
commandManager.registerCommand(new AliasedChannelCommand(simpleChat, channel));
|
||||
}
|
||||
|
||||
if (!hasTownChat) {
|
||||
boolean townyInstalled = Bukkit.getPluginManager().isPluginEnabled("Towny");
|
||||
boolean mcmmoInstalled = Bukkit.getPluginManager().isPluginEnabled("mcMMO");
|
||||
|
||||
if (!hasTownChat && townyInstalled) {
|
||||
simpleChat.getLogger().info("Towny installed but no Town channel is setup!");
|
||||
}
|
||||
|
||||
if (!hasNationChat) {
|
||||
if (!hasNationChat && townyInstalled) {
|
||||
simpleChat.getLogger().info("Towny installed but no Nation channel is setup!");
|
||||
}
|
||||
|
||||
if (!hasAllianceChat) {
|
||||
if (!hasAllianceChat && townyInstalled) {
|
||||
simpleChat.getLogger().info("Towny installed but no Alliance channel is setup!");
|
||||
}
|
||||
|
||||
if (!hasPartyChat) {
|
||||
if (!hasPartyChat && mcmmoInstalled) {
|
||||
simpleChat.getLogger().info("mcMMO installed but no Party channel is setup!");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user