mirror of
https://github.com/CitizensDev/Citizens2.git
synced 2024-12-27 19:47:51 +01:00
Merge pull request #365 from mcmonkey4eva/master
Handle another needs-packet-sending event
This commit is contained in:
commit
a4ee12c18a
@ -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