new mob patrolling system

This commit is contained in:
2023-04-16 12:48:23 -05:00
parent cfa59d8012
commit 028135f859
4 changed files with 70 additions and 4 deletions
+1 -1
View File
@@ -106,7 +106,7 @@ public class LootManager {
break;
case "ITEM":
MobLoot disc = new MobLoot(mob, ItemBase.getItemBase(bse.itemBase), true);
if (disc != null || fromDeath)
if (disc != null && !fromDeath)
mob.getCharItemManager().addItemToInventory(disc);
break;