Small bug fixes

This commit is contained in:
Draycia committed 2020-07-02 07:07:35 -07:00
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!");
}
}
+1 -1
View File
@@ -25,7 +25,7 @@ channels:
global:
name: 'Global'
aliases: 'global|g'
id: -1 # Set to -1, comment out, or remove to disable channel bridge
id: '' # Set to -1, comment out, or remove to disable channel bridge
webhook: '' # Comment out / remove to disable webhook
default: true # Removing this option defaults to 'false'
announcements: