no longer resets because player is too far away when arena is gameover
This commit is contained in:
parent
cb1dfca31c
commit
d2459bc793
1 changed files with 1 additions and 0 deletions
|
|
@ -464,6 +464,7 @@ public class MinecleanerArena {
|
|||
}
|
||||
|
||||
public boolean isTooFarAway(Player player) {
|
||||
if(currentMinecleanerGame != null && currentMinecleanerGame.gameover) return false;
|
||||
if(player.getWorld() != location.getWorld()) {
|
||||
return true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue