mirror of
https://github.com/TotalFreedomMC/TFGuilds.git
synced 2024-12-22 16:05:00 +00:00
set eventpriority
This commit is contained in:
parent
75de056e38
commit
40e40c700f
1 changed files with 3 additions and 2 deletions
|
@ -6,12 +6,13 @@ import me.totalfreedom.tfguilds.util.GUtil;
|
|||
import org.bukkit.ChatColor;
|
||||
import org.bukkit.entity.Player;
|
||||
import org.bukkit.event.EventHandler;
|
||||
import org.bukkit.event.EventPriority;
|
||||
import org.bukkit.event.Listener;
|
||||
import org.bukkit.event.player.AsyncPlayerChatEvent;
|
||||
|
||||
public class ChatListener implements Listener
|
||||
{
|
||||
@EventHandler
|
||||
@EventHandler(priority = EventPriority.HIGHEST)
|
||||
public void onPlayerChat(AsyncPlayerChatEvent e)
|
||||
{
|
||||
Player player = e.getPlayer();
|
||||
|
|
Loading…
Reference in a new issue