mirror of
https://github.com/DRE2N/DungeonsXL.git
synced 2024-11-07 19:30:48 +01:00
Fix DungeonSign CME
This commit is contained in:
parent
a3ff4c478c
commit
70929fbda5
@ -361,7 +361,7 @@ public class DGameWorld extends DInstanceWorld implements GameWorld {
|
|||||||
int mobCount = 0;
|
int mobCount = 0;
|
||||||
|
|
||||||
signs:
|
signs:
|
||||||
for (DungeonSign sign : getDungeonSigns()) {
|
for (DungeonSign sign : getDungeonSigns().toArray(new DungeonSign[getDungeonSigns().size()])) {
|
||||||
if (!(sign instanceof MobSign)) {
|
if (!(sign instanceof MobSign)) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
@ -414,7 +414,7 @@ public class DGameWorld extends DInstanceWorld implements GameWorld {
|
|||||||
|
|
||||||
isPlaying = true;
|
isPlaying = true;
|
||||||
|
|
||||||
for (DungeonSign sign : getDungeonSigns()) {
|
for (DungeonSign sign : getDungeonSigns().toArray(new DungeonSign[getDungeonSigns().size()])) {
|
||||||
if (sign == null || sign.isOnDungeonInit()) {
|
if (sign == null || sign.isOnDungeonInit()) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user