diff --git a/src/main/java/io/github/thebusybiscuit/slimefun4/implementation/tasks/TickerTask.java b/src/main/java/io/github/thebusybiscuit/slimefun4/implementation/tasks/TickerTask.java index cbf6e42eb1..300f6ca93a 100644 --- a/src/main/java/io/github/thebusybiscuit/slimefun4/implementation/tasks/TickerTask.java +++ b/src/main/java/io/github/thebusybiscuit/slimefun4/implementation/tasks/TickerTask.java @@ -106,7 +106,8 @@ public void run() { // Run our ticker code if (!halted) { - for (Map.Entry> entry : tickingLocations.entrySet()) { + Set>> loc = new HashSet<>(tickingLocations.entrySet()); + for (Map.Entry> entry : loc) { tickChunk(entry.getKey(), tickers, entry.getValue()); } }