This commit is contained in:
@@ -888,7 +888,9 @@ public class AuthMePlayerListener implements Listener {
|
|||||||
player.setAllowFlight(limbo.isFlying());
|
player.setAllowFlight(limbo.isFlying());
|
||||||
player.setFlying(limbo.isFlying());
|
player.setFlying(limbo.isFlying());
|
||||||
}
|
}
|
||||||
|
if (limbo.getTimeoutTaskId() != null)
|
||||||
limbo.getTimeoutTaskId().cancel();
|
limbo.getTimeoutTaskId().cancel();
|
||||||
|
if (limbo.getMessageTaskId() != null)
|
||||||
limbo.getMessageTaskId().cancel();
|
limbo.getMessageTaskId().cancel();
|
||||||
LimboCache.getInstance().deleteLimboPlayer(name);
|
LimboCache.getInstance().deleteLimboPlayer(name);
|
||||||
if (playerBackup.doesCacheExist(player)) {
|
if (playerBackup.doesCacheExist(player)) {
|
||||||
@@ -975,7 +977,9 @@ public class AuthMePlayerListener implements Listener {
|
|||||||
player.setAllowFlight(limbo.isFlying());
|
player.setAllowFlight(limbo.isFlying());
|
||||||
player.setFlying(limbo.isFlying());
|
player.setFlying(limbo.isFlying());
|
||||||
}
|
}
|
||||||
|
if (limbo.getTimeoutTaskId() != null)
|
||||||
limbo.getTimeoutTaskId().cancel();
|
limbo.getTimeoutTaskId().cancel();
|
||||||
|
if (limbo.getMessageTaskId() != null)
|
||||||
limbo.getMessageTaskId().cancel();
|
limbo.getMessageTaskId().cancel();
|
||||||
LimboCache.getInstance().deleteLimboPlayer(name);
|
LimboCache.getInstance().deleteLimboPlayer(name);
|
||||||
if (this.playerBackup.doesCacheExist(player)) {
|
if (this.playerBackup.doesCacheExist(player)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user