diff --git a/src/main/java/com/songoda/epicfarming/tasks/FarmTask.java b/src/main/java/com/songoda/epicfarming/tasks/FarmTask.java index 85aff43..648c021 100644 --- a/src/main/java/com/songoda/epicfarming/tasks/FarmTask.java +++ b/src/main/java/com/songoda/epicfarming/tasks/FarmTask.java @@ -68,7 +68,7 @@ public class FarmTask extends BukkitRunnable { @Override public void run() { - for (Farm farm : plugin.getFarmManager().getFarms().values()) { + for (Farm farm : new ArrayList<>(plugin.getFarmManager().getFarms().values())) { try { if (!farm.isInLoadedChunk()) continue;