ground items: add Nightmare instance to normal despawn timers
This commit is contained in:
@@ -82,6 +82,7 @@ public class GroundItemsOverlay extends Overlay
|
||||
private static final int GRAARDOR_REGION = 11347;
|
||||
private static final int KRIL_TSUTSAROTH_REGION = 11603;
|
||||
private static final int KREEARRA_REGION = 11346;
|
||||
private static final int NIGHTMARE_REGION = 15515;
|
||||
|
||||
private final Client client;
|
||||
private final GroundItemsPlugin plugin;
|
||||
@@ -451,9 +452,9 @@ public class GroundItemsOverlay extends Overlay
|
||||
}
|
||||
}
|
||||
else if (playerRegionID == ZILYANA_REGION || playerRegionID == GRAARDOR_REGION ||
|
||||
playerRegionID == KRIL_TSUTSAROTH_REGION || playerRegionID == KREEARRA_REGION)
|
||||
playerRegionID == KRIL_TSUTSAROTH_REGION || playerRegionID == KREEARRA_REGION || playerRegionID == NIGHTMARE_REGION)
|
||||
{
|
||||
// GWD instances use the normal despawn timers
|
||||
// GWD and Nightmare instances use the normal despawn timers
|
||||
despawnTime = spawnTime.plus(groundItem.getLootType() == LootType.DROPPED
|
||||
? DESPAWN_TIME_DROP
|
||||
: DESPAWN_TIME_LOOT);
|
||||
|
||||
Reference in New Issue
Block a user