Fixed rare ConcurrentMod in Forcefield

This commit is contained in:
Auxilor 2021-05-03 16:04:46 +01:00
parent d4a0e4d205
commit 5b59174bb8

View File

@ -59,7 +59,7 @@ public class Forcefield extends EcoEnchant implements TimedRunnable {
@Override @Override
public void run() { public void run() {
players.forEach((player, level) -> { new HashMap<>(players).forEach((player, level) -> {
if (this.getDisabledWorlds().contains(player.getWorld())) { if (this.getDisabledWorlds().contains(player.getWorld())) {
return; return;
} }