Update RespawnRunnable.java
This commit is contained in:
parent
30ca71cd06
commit
86413e60a0
@ -31,6 +31,10 @@ public class RespawnRunnable extends BukkitRunnable {
|
|||||||
cancel();
|
cancel();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
if (this.playerData.getPlayerState() != PlayerState.RESPAWNING || this.playerData.getPlayerState() != PlayerState.PLAYING) {
|
||||||
|
cancel();
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
if (this.respawnTime <= 1) {
|
if (this.respawnTime <= 1) {
|
||||||
this.playerData.setPlayerState(PlayerState.PLAYING);
|
this.playerData.setPlayerState(PlayerState.PLAYING);
|
||||||
|
Loading…
Reference in New Issue
Block a user