Browse Source

fixed hotzone drop tables never being used

master
FatBoy-DOTC 2 years ago
parent
commit
33603958b1
  1. 3
      src/engine/objects/Mob.java

3
src/engine/objects/Mob.java

@ -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);

Loading…
Cancel
Save