From f73e05776e3b206cee0b9f9a087d09fb13a01d2c Mon Sep 17 00:00:00 2001 From: Pepich Date: Wed, 1 Feb 2017 12:00:53 +0100 Subject: [PATCH] Updated to work with the new annotation --- src/com/redstoner/modules/adminchat/Adminchat.java | 6 +++--- src/com/redstoner/modules/chatgroups/Chatgroups.java | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/com/redstoner/modules/adminchat/Adminchat.java b/src/com/redstoner/modules/adminchat/Adminchat.java index a81c3fb..eb98294 100644 --- a/src/com/redstoner/modules/adminchat/Adminchat.java +++ b/src/com/redstoner/modules/adminchat/Adminchat.java @@ -1,14 +1,14 @@ package com.redstoner.modules.adminchat; -import com.redstoner.annotations.AutoRegisterEvents; +import com.redstoner.annotations.AutoRegisterListener; import com.redstoner.annotations.Version; import com.redstoner.modules.Module; /** AdminChat module. Allows staff to chat to other staff using /ac \ as well as a one char prefix or a toggle. * * @author Pepich */ -@AutoRegisterEvents -@Version(major = 1, minor = 0, revision = 0, compatible = 1) +@AutoRegisterListener +@Version(major = 1, minor = 0, revision = 1, compatible = 1) public class Adminchat implements Module { private boolean enabled = false; diff --git a/src/com/redstoner/modules/chatgroups/Chatgroups.java b/src/com/redstoner/modules/chatgroups/Chatgroups.java index df7c09a..fd8c0a8 100644 --- a/src/com/redstoner/modules/chatgroups/Chatgroups.java +++ b/src/com/redstoner/modules/chatgroups/Chatgroups.java @@ -7,15 +7,15 @@ import org.bukkit.event.Listener; import org.bukkit.event.player.AsyncPlayerChatEvent; import com.nemez.cmdmgr.Command; -import com.redstoner.annotations.AutoRegisterEvents; +import com.redstoner.annotations.AutoRegisterListener; import com.redstoner.annotations.Version; import com.redstoner.modules.Module; /** The ChatGroups module. Allows people to have private sub-chats that can be accessed via a single char prefix or a toggle. * * @author Pepich */ -@AutoRegisterEvents -@Version(major = 1, minor = 0, revision = 0, compatible = 1) +@AutoRegisterListener +@Version(major = 1, minor = 0, revision = 1, compatible = 1) public class Chatgroups implements Module, Listener { private boolean enabled = false;