- TownyChat now only enables itself if Towny successfully starts.
This commit is contained in:
ElgarL committed 2011-10-25 18:24:48 +00:00
1 parent 2e72d37810
commit 86d6cbea7c
3 files changed
+9 -5

No files matched your search

+3 -1
View File
@@ -3,4 +3,6 @@ v0.1:
v0.2:
- Fixed players entering regex fields in chat crashing {msg}.
- changed PLAYER_CHAT event to run earlier so we triger before other chat plugins.
If players are using chat modes we need to run first to cancel the chat event for other plugins.
If players are using chat modes we need to run first to cancel the chat event for other plugins.
v0.3:
- TownyChat now only enables itself if Towny successfully starts.
@@ -22,9 +22,11 @@ public class onLoadedTask implements Runnable {
@Override
public void run() {
plugin.getLogger().info("-******* TownyChat enabled *******-");
plugin.registerEvents();
if (this.towny.isEnabled()) {
plugin.getLogger().info("-******* TownyChat enabled *******-");
plugin.registerEvents();
}
}
+1 -1
View File
@@ -1,6 +1,6 @@
name: TownyChat
main: com.palmergames.bukkit.TownyChat.Chat
version: 0.2
version: 0.3
author: ElgarL
website: http://code.google.com/a/eclipselabs.org/p/towny/
description: >