Remove GP listener

This commit is contained in:
cnaude 2015-08-12 23:24:24 -07:00
parent 4e69d6b37c
commit 78dcdb8450

View File

@ -49,9 +49,9 @@ public class GamePlayerChatListener implements Listener {
@EventHandler(priority = EventPriority.MONITOR)
public void onAsyncPlayerChat(AsyncPlayerChatEvent event) {
String message = event.getMessage();
if(plugin.isPluginEnabled("GriefPrevention")) {
return;
}
//if(plugin.isPluginEnabled("GriefPrevention")) {
// return;
//}
plugin.logDebug("ChatFormat [" + event.isCancelled() + "]: " + event.getFormat());
if (message.startsWith(PurpleIRC.TOWNYTAG)) {
event.setMessage(message.replace(PurpleIRC.TOWNYTAG, ""));