ground items: Add Tempoross instance to normal despawn timers

This commit is contained in:
FlashBasedGod
2021-04-18 18:19:45 -02:30
committed by Jordan Atwood
parent 757b392bb9
commit f62a7c280a

View File

@@ -83,6 +83,7 @@ public class GroundItemsOverlay extends Overlay
private static final int KRIL_TSUTSAROTH_REGION = 11603;
private static final int KREEARRA_REGION = 11346;
private static final int NIGHTMARE_REGION = 15515;
private static final int TEMPOROSS_REGION = 12078;
private final Client client;
private final GroundItemsPlugin plugin;
@@ -452,9 +453,10 @@ public class GroundItemsOverlay extends Overlay
}
}
else if (playerRegionID == ZILYANA_REGION || playerRegionID == GRAARDOR_REGION ||
playerRegionID == KRIL_TSUTSAROTH_REGION || playerRegionID == KREEARRA_REGION || playerRegionID == NIGHTMARE_REGION)
playerRegionID == KRIL_TSUTSAROTH_REGION || playerRegionID == KREEARRA_REGION ||
playerRegionID == NIGHTMARE_REGION || playerRegionID == TEMPOROSS_REGION)
{
// GWD and Nightmare instances use the normal despawn timers
// GWD, Nightmare, and Tempoross instances use the normal despawn timers
despawnTime = spawnTime.plus(groundItem.getLootType() == LootType.DROPPED
? DESPAWN_TIME_DROP
: DESPAWN_TIME_LOOT);