fixed hotzone drop tables never being used

This commit is contained in:
2023-03-30 19:44:44 -05:00
parent f5d5dce791
commit 33603958b1
+2 -1
View File
@@ -1713,7 +1713,8 @@ public class Mob extends AbstractIntelligenceAgent {
} }
//add random loot to mob //add random loot to mob
ArrayList<MobLoot> alml = LootTable.getMobLoot(this, this.getLevel(), this.getLootTable(), false); //add hotzone check in later boolean inHotzone = ZoneManager.inHotZone(this.getLoc());
ArrayList<MobLoot> alml = LootTable.getMobLoot(this, this.getLevel(), this.getLootTable(), inHotzone); //add hotzone check in later
for (MobLoot ml : alml) { for (MobLoot ml : alml) {
this.charItemManager.addItemToInventory(ml); this.charItemManager.addItemToInventory(ml);