mirror of
https://github.com/CitizensDev/Citizens2.git
synced 2025-01-14 20:21:19 +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());
|
recalculatePlayer(event.getPlayer());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@EventHandler(priority = EventPriority.MONITOR)
|
||||||
|
public void onPlayerRespawn(PlayerRespawnEvent event) {
|
||||||
|
recalculatePlayer(event.getPlayer());
|
||||||
|
}
|
||||||
|
|
||||||
public void recalculatePlayer(final Player player) {
|
public void recalculatePlayer(final Player player) {
|
||||||
new BukkitRunnable() {
|
new BukkitRunnable() {
|
||||||
@Override
|
@Override
|
||||||
|
Loading…
Reference in New Issue
Block a user