Renamed TownyChat.java back to Chat.java

This commit is contained in:
Articdive committed 2018-02-23 19:51:19 +01:00
1 parent 8d542e8849
commit a07deba526
2 files changed
+5 -5

No files matched your search

@@ -144,7 +144,7 @@ public class Chat extends JavaPlugin {
test = pm.getPlugin("HeroicDeath");
if (test != null) {
heroicDeathListener = new HeroicDeathForwarder(irc);
getLogger().info("[Chat] Found and attempting to relay Heroic Death messages to craftIRC.");
getLogger().info("[TownyChat] Found and attempting to relay Heroic Death messages to craftIRC.");
}
}
@@ -44,9 +44,9 @@ public class ChatSettings extends tag_formats {
// read the config.yml into memory
ChatSettings.chatConfig = new CommentedConfiguration(file);
if (!chatConfig.load()) {
Bukkit.getLogger().severe("[Chat] Failed to load ChatConfig!");
Bukkit.getLogger().severe("[Chat] Please check that the file passes a YAML Parser test:");
Bukkit.getLogger().severe("[Chat] Online YAML Parser: https://yaml-online-parser.appspot.com/");
Bukkit.getLogger().severe("[TownyChat] Failed to load ChatConfig!");
Bukkit.getLogger().severe("[TownyChat] Please check that the file passes a YAML Parser test:");
Bukkit.getLogger().severe("[TownyChat] Online YAML Parser: https://yaml-online-parser.appspot.com/");
return false;
}
setDefaults(version, file);
@@ -132,7 +132,7 @@ public class ChatSettings extends tag_formats {
}
private static void sendError(String msg) {
System.out.println("[Chat] Error could not read " + msg);
System.out.println("[TownyChat] Error could not read " + msg);
}
private static boolean perWorld() {