From 6c6c9c4b590d55b6e7a1b2d4d87cc1477b29e549 Mon Sep 17 00:00:00 2001 From: Sn0wStorm Date: Tue, 31 May 2016 22:09:16 +0200 Subject: [PATCH] Quickfix ConcModExc when using many Triggersigns --- src/main/java/io/github/dre2n/dungeonsxl/trigger/Trigger.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/io/github/dre2n/dungeonsxl/trigger/Trigger.java b/src/main/java/io/github/dre2n/dungeonsxl/trigger/Trigger.java index df94c3e7..7d1ac506 100644 --- a/src/main/java/io/github/dre2n/dungeonsxl/trigger/Trigger.java +++ b/src/main/java/io/github/dre2n/dungeonsxl/trigger/Trigger.java @@ -108,7 +108,7 @@ public abstract class Trigger { } public void updateDSigns() { - for (DSign dSign : dSigns) { + for (DSign dSign : dSigns.toArray(new DSign[dSigns.size()])) { dSign.onUpdate(); } }