0

Updated to work with the new annotation

This commit is contained in:
Pepich 2017-02-01 12:00:53 +01:00
parent 5703c05120
commit f73e05776e
2 changed files with 6 additions and 6 deletions

View File

@ -1,14 +1,14 @@
package com.redstoner.modules.adminchat; package com.redstoner.modules.adminchat;
import com.redstoner.annotations.AutoRegisterEvents; import com.redstoner.annotations.AutoRegisterListener;
import com.redstoner.annotations.Version; import com.redstoner.annotations.Version;
import com.redstoner.modules.Module; import com.redstoner.modules.Module;
/** AdminChat module. Allows staff to chat to other staff using /ac \<message\> as well as a one char prefix or a toggle. /** AdminChat module. Allows staff to chat to other staff using /ac \<message\> as well as a one char prefix or a toggle.
* *
* @author Pepich */ * @author Pepich */
@AutoRegisterEvents @AutoRegisterListener
@Version(major = 1, minor = 0, revision = 0, compatible = 1) @Version(major = 1, minor = 0, revision = 1, compatible = 1)
public class Adminchat implements Module public class Adminchat implements Module
{ {
private boolean enabled = false; private boolean enabled = false;

View File

@ -7,15 +7,15 @@ import org.bukkit.event.Listener;
import org.bukkit.event.player.AsyncPlayerChatEvent; import org.bukkit.event.player.AsyncPlayerChatEvent;
import com.nemez.cmdmgr.Command; import com.nemez.cmdmgr.Command;
import com.redstoner.annotations.AutoRegisterEvents; import com.redstoner.annotations.AutoRegisterListener;
import com.redstoner.annotations.Version; import com.redstoner.annotations.Version;
import com.redstoner.modules.Module; 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. /** The ChatGroups module. Allows people to have private sub-chats that can be accessed via a single char prefix or a toggle.
* *
* @author Pepich */ * @author Pepich */
@AutoRegisterEvents @AutoRegisterListener
@Version(major = 1, minor = 0, revision = 0, compatible = 1) @Version(major = 1, minor = 0, revision = 1, compatible = 1)
public class Chatgroups implements Module, Listener public class Chatgroups implements Module, Listener
{ {
private boolean enabled = false; private boolean enabled = false;