Nightmare loot tracking fix

This commit is contained in:
Dozer
2020-08-30 23:54:33 -05:00
parent 469695db7c
commit dfade0c26c

View File

@@ -83,7 +83,7 @@ public class LootManager
.put(NpcID.CORRUPTED_DRAGON, AnimationID.CRYSTALLINE_DRAGON_DEATH)
.put(NpcID.CORRUPTED_DARK_BEAST, AnimationID.CRYSTALLINE_DARK_BEAST_DEATH)
.put(NpcID.CORRUPTED_BEAR, AnimationID.CRYSTALLINE_BEAR_DEATH)
.put(NpcID.THE_NIGHTMARE_9430, AnimationID.NIGHTMARE_DEATH)
.put(NpcID.THE_NIGHTMARE_9433, AnimationID.NIGHTMARE_DEATH)
.build();
private final EventBus eventBus;
@@ -98,8 +98,8 @@ public class LootManager
@Inject
private LootManager(
final EventBus eventBus,
final Client client
final EventBus eventBus,
final Client client
)
{
this.eventBus = eventBus;
@@ -246,7 +246,7 @@ public class LootManager
// Big Kraken drops loot wherever player is standing when animation starts.
krakenPlayerLocation = client.getLocalPlayer().getWorldLocation();
}
else if (id == NpcID.THE_NIGHTMARE_9430)
else if (id == NpcID.THE_NIGHTMARE_9433)
{
delayedLootNpc = npc;
delayedLootTickLimit = 16;