- Add serialization of numeric world names.
This commit is contained in:
ElgarL committed 2012-02-10 20:31:14 +00:00
1 parent f4c39f45e2
commit 5bf6ff5cf6
4 files changed
+12 -7

No files matched your search

+4 -1
View File
@@ -94,4 +94,7 @@ v0.18:
- Added craftIRC channel tag support. A new entry per channel will allow you to set the endpoint tags for all channels to craftIRC (craftIRCTag: 'admin').
- Set default for new HeroicDeath interface to prevent new config errors.
v0.19:
- Fix an error on startup if not using HeroicDeath.
- Fix an error on startup if not using HeroicDeath.
- Remove old style event handler hook for old HeroicDeath.
v0.20:
- Add serialization of numeric world names.
@@ -332,7 +332,7 @@ public class ConfigurationHandler {
if (!key.equalsIgnoreCase("channel_formats")) {
channelFormats world = ChatSettings.getFormatGroup(key);
newConfig += " " + key + ":" + System.getProperty("line.separator");
newConfig += " '" + key + "':" + System.getProperty("line.separator");
newConfig += " global: '" + ((defaults)? global : world.getGLOBAL()) + "'" + System.getProperty("line.separator");
newConfig += " town: '" + ((defaults)? town : world.getTOWN()) + "'" + System.getProperty("line.separator");
@@ -1,7 +1,7 @@
package com.palmergames.bukkit.TownyChat.event;
import org.bukkit.event.CustomEventListener;
import org.bukkit.event.Event;
//import org.bukkit.event.CustomEventListener;
//import org.bukkit.event.Event;
import org.bukkit.event.EventHandler;
import org.bukkit.event.EventPriority;
import org.bukkit.event.Listener;
@@ -14,8 +14,8 @@ import com.palmergames.bukkit.TownyChat.config.ChatSettings;
* @author ElgarL
*
*/
@SuppressWarnings("deprecation")
public class HeroicDeathForwarder extends CustomEventListener implements Listener{
//@SuppressWarnings("deprecation")
public class HeroicDeathForwarder implements Listener{ // extends CustomEventListener
private CraftIRCHandler ircHandler = null;
@@ -39,6 +39,7 @@ public class HeroicDeathForwarder extends CustomEventListener implements Listene
/**
* Old style Event handler
*/
/*
@Override
public void onCustomEvent(Event event) {
@@ -52,4 +53,5 @@ public class HeroicDeathForwarder extends CustomEventListener implements Listene
}
}
}
*/
}
+1 -1
View File
@@ -1,6 +1,6 @@
name: TownyChat
main: com.palmergames.bukkit.TownyChat.Chat
version: 0.19
version: 0.20
author: ElgarL, Shade
website: http://code.google.com/a/eclipselabs.org/p/towny/
description: >