mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-29 16:46:46 +01:00
No such thing as cancelled events
This commit is contained in:
parent
bada2f5d0d
commit
30e1d3fff3
@ -14,7 +14,7 @@ import org.kitteh.tag.AsyncPlayerReceiveNameTagEvent;
|
|||||||
|
|
||||||
public class TagListener implements Listener {
|
public class TagListener implements Listener {
|
||||||
|
|
||||||
@EventHandler(priority = EventPriority.MONITOR, ignoreCancelled = true)
|
@EventHandler(priority = EventPriority.MONITOR)
|
||||||
public void onAsyncPlayerReceiveNameTag(AsyncPlayerReceiveNameTagEvent event) {
|
public void onAsyncPlayerReceiveNameTag(AsyncPlayerReceiveNameTagEvent event) {
|
||||||
Player player = event.getNamedPlayer();
|
Player player = event.getNamedPlayer();
|
||||||
McMMOPlayer mcMMOPlayer = UserManager.getPlayer(player, true);
|
McMMOPlayer mcMMOPlayer = UserManager.getPlayer(player, true);
|
||||||
|
Loading…
Reference in New Issue
Block a user