Correction de bug dans la boucle de vérification des joueurs du WorldBorderManager

This commit is contained in:
Marc Baloup 2015-02-11 22:28:02 -05:00
parent 101ab8f453
commit c88da20337

View File

@ -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);