new mob patrolling system

This commit is contained in:
FatBoy committed 2023-04-16 12:48:23 -05:00
1 parent cfa59d8012
commit 028135f859
4 files changed
+70 -4

No files matched your search

+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;