From 33603958b103721e55aff7b456fce111ec8ade43 Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Thu, 30 Mar 2023 19:44:44 -0500 Subject: [PATCH] fixed hotzone drop tables never being used --- src/engine/objects/Mob.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/engine/objects/Mob.java b/src/engine/objects/Mob.java index 81d9dde0..65d2dd59 100644 --- a/src/engine/objects/Mob.java +++ b/src/engine/objects/Mob.java @@ -1713,7 +1713,8 @@ public class Mob extends AbstractIntelligenceAgent { } //add random loot to mob - ArrayList alml = LootTable.getMobLoot(this, this.getLevel(), this.getLootTable(), false); //add hotzone check in later + boolean inHotzone = ZoneManager.inHotZone(this.getLoc()); + ArrayList alml = LootTable.getMobLoot(this, this.getLevel(), this.getLootTable(), inHotzone); //add hotzone check in later for (MobLoot ml : alml) { this.charItemManager.addItemToInventory(ml);