mirror of
https://github.com/CitizensDev/Citizens2.git
synced 2025-01-13 19:52:05 +01:00
Handle another needs-packet-sending event, fixes #364
This commit is contained in:
parent
639bdb2e31
commit
3e718bc049
@ -291,6 +291,11 @@ public class EventListen implements Listener {
|
||||
recalculatePlayer(event.getPlayer());
|
||||
}
|
||||
|
||||
@EventHandler(priority = EventPriority.MONITOR)
|
||||
public void onPlayerRespawn(PlayerRespawnEvent event) {
|
||||
recalculatePlayer(event.getPlayer());
|
||||
}
|
||||
|
||||
public void recalculatePlayer(final Player player) {
|
||||
new BukkitRunnable() {
|
||||
@Override
|
||||
|
Loading…
Reference in New Issue
Block a user