Fix global drops thread issue

This randomly caused global drops to stop working after a while.
Originally reported by Crabo of MapleHorizons.
This commit is contained in:
P0nk
2024-08-28 21:20:15 +02:00
parent 8f2b8dd013
commit dbf1a1bb36
2 changed files with 11 additions and 19 deletions

View File

@@ -751,7 +751,7 @@ public class MapleMap {
}
final MonsterInformationProvider mi = MonsterInformationProvider.getInstance();
final List<MonsterGlobalDropEntry> globalEntry = mi.getRelevantGlobalDrops(this.getId());
final List<MonsterGlobalDropEntry> globalEntry = new ArrayList<>(mi.getRelevantGlobalDrops(mapid));
final List<MonsterDropEntry> dropEntry = new ArrayList<>();
final List<MonsterDropEntry> visibleQuestEntry = new ArrayList<>();