- Fix an error on startup if not using HeroicDeath.
This commit is contained in:
ElgarL committed 2012-02-04 08:00:27 +00:00
1 parent 805d077b3b
commit f4c39f45e2
3 files changed
+8 -4

No files matched your search

+3 -1
View File
@@ -92,4 +92,6 @@ v0.17:
- Add support for our updated HeroicDeath jar (hopefully someone will take over support for heroic Death now it's updated).
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.
- Set default for new HeroicDeath interface to prevent new config errors.
v0.19:
- Fix an error on startup if not using HeroicDeath.
@@ -135,8 +135,10 @@ public class Chat extends JavaPlugin {
public void registerEvents() {
TownyPlayerListener = new TownyPlayerHighestListener(this, irc, dynMap);
pm.registerEvents(TownyPlayerListener, this);
pm.registerEvents(heroicDeathListener, this);
if (TownyPlayerListener != null)
pm.registerEvents(TownyPlayerListener, this);
if (heroicDeathListener != null)
pm.registerEvents(heroicDeathListener, this);
}
+1 -1
View File
@@ -1,6 +1,6 @@
name: TownyChat
main: com.palmergames.bukkit.TownyChat.Chat
version: 0.18
version: 0.19
author: ElgarL, Shade
website: http://code.google.com/a/eclipselabs.org/p/towny/
description: >