fixed hotzone drop tables never being used
This commit is contained in:
1 parent
f5d5dce791
commit
33603958b1
1 file changed
+2
-1
@@ -1713,7 +1713,8 @@ public class Mob extends AbstractIntelligenceAgent {
|
||||
}
|
||||
|
||||
//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) {
|
||||
this.charItemManager.addItemToInventory(ml);
|
||||
|
||||
Reference in new issue
Block a user