mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-22 22:29:50 +00:00
Fix TileWaypoint | ServerEventsHandler -> ConcurrentModificationException
> ConcurrentModificationException
-- For #63
SHA 41a6803e2e
@c0508383
This commit is contained in:
1 parent
571a1e796d
commit
9bdbdec079
2 files changed
+6
-2
No files matched your search
@@ -46,7 +46,9 @@ public class TileWaypoint extends TileEntity {
|
||||
for(EntityPlayer player : toCheck){
|
||||
PlayerData playerData = PlayerDataController.instance.getPlayerData(player);
|
||||
PlayerQuestData questData = playerData.questData;
|
||||
for(QuestData data : questData.activeQuests.values()){
|
||||
|
||||
ArrayList<QuestData> activeQuestValues = new ArrayList<>(questData.activeQuests.values());
|
||||
for(QuestData data : activeQuestValues){
|
||||
if(data.quest.type != EnumQuestType.Location)
|
||||
continue;
|
||||
QuestLocation quest = (QuestLocation) data.quest.questInterface;
|
||||
|
||||
Reference in new issue
Block a user