mirror of
https://github.com/Auxilor/EcoEnchants.git
synced 2024-12-26 20:27:38 +01:00
Fixed rare ConcurrentMod in Forcefield
This commit is contained in:
parent
d4a0e4d205
commit
5b59174bb8
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user