Correction de bug dans la boucle de vérification des joueurs du WorldBorderManager
This commit is contained in:
parent
101ab8f453
commit
c88da20337
@ -45,7 +45,7 @@ public class WorldBorderManager extends BukkitRunnable implements Listener {
|
|||||||
for (OnlinePlayer op : players) {
|
for (OnlinePlayer op : players) {
|
||||||
WorldBorderConfig config = configs.get(op.getPlayer().getWorld().getName());
|
WorldBorderConfig config = configs.get(op.getPlayer().getWorld().getName());
|
||||||
|
|
||||||
if (config == null) return;
|
if (config == null) continue;
|
||||||
|
|
||||||
// vérifier la position
|
// vérifier la position
|
||||||
Location newLoc = checkPosition(op.getPlayer().getLocation(), config);
|
Location newLoc = checkPosition(op.getPlayer().getLocation(), config);
|
||||||
|
Loading…
Reference in New Issue
Block a user