mirror of
https://github.com/AuthMe/AuthMeReloaded.git
synced 2024-09-07 04:38:03 +02:00
This commit is contained in:
parent
de2961b754
commit
bfc2fbd546
@ -888,8 +888,10 @@ public class AuthMePlayerListener implements Listener {
|
|||||||
player.setAllowFlight(limbo.isFlying());
|
player.setAllowFlight(limbo.isFlying());
|
||||||
player.setFlying(limbo.isFlying());
|
player.setFlying(limbo.isFlying());
|
||||||
}
|
}
|
||||||
limbo.getTimeoutTaskId().cancel();
|
if (limbo.getTimeoutTaskId() != null)
|
||||||
limbo.getMessageTaskId().cancel();
|
limbo.getTimeoutTaskId().cancel();
|
||||||
|
if (limbo.getMessageTaskId() != null)
|
||||||
|
limbo.getMessageTaskId().cancel();
|
||||||
LimboCache.getInstance().deleteLimboPlayer(name);
|
LimboCache.getInstance().deleteLimboPlayer(name);
|
||||||
if (playerBackup.doesCacheExist(player)) {
|
if (playerBackup.doesCacheExist(player)) {
|
||||||
playerBackup.removeCache(player);
|
playerBackup.removeCache(player);
|
||||||
@ -975,8 +977,10 @@ public class AuthMePlayerListener implements Listener {
|
|||||||
player.setAllowFlight(limbo.isFlying());
|
player.setAllowFlight(limbo.isFlying());
|
||||||
player.setFlying(limbo.isFlying());
|
player.setFlying(limbo.isFlying());
|
||||||
}
|
}
|
||||||
limbo.getTimeoutTaskId().cancel();
|
if (limbo.getTimeoutTaskId() != null)
|
||||||
limbo.getMessageTaskId().cancel();
|
limbo.getTimeoutTaskId().cancel();
|
||||||
|
if (limbo.getMessageTaskId() != null)
|
||||||
|
limbo.getMessageTaskId().cancel();
|
||||||
LimboCache.getInstance().deleteLimboPlayer(name);
|
LimboCache.getInstance().deleteLimboPlayer(name);
|
||||||
if (this.playerBackup.doesCacheExist(player)) {
|
if (this.playerBackup.doesCacheExist(player)) {
|
||||||
this.playerBackup.removeCache(player);
|
this.playerBackup.removeCache(player);
|
||||||
|
Loading…
Reference in New Issue
Block a user