Fix DungeonSign CME

This commit is contained in:
Daniel Saukel 2020-04-11 12:58:28 +02:00
parent a3ff4c478c
commit 70929fbda5

View File

@ -361,7 +361,7 @@ public class DGameWorld extends DInstanceWorld implements GameWorld {
int mobCount = 0;
signs:
for (DungeonSign sign : getDungeonSigns()) {
for (DungeonSign sign : getDungeonSigns().toArray(new DungeonSign[getDungeonSigns().size()])) {
if (!(sign instanceof MobSign)) {
continue;
}
@ -414,7 +414,7 @@ public class DGameWorld extends DInstanceWorld implements GameWorld {
isPlaying = true;
for (DungeonSign sign : getDungeonSigns()) {
for (DungeonSign sign : getDungeonSigns().toArray(new DungeonSign[getDungeonSigns().size()])) {
if (sign == null || sign.isOnDungeonInit()) {
continue;
}