From 76b75f0a3765e22560f48c86c31e7a694bf7b225 Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Tue, 4 Mar 2025 18:54:03 -0600 Subject: [PATCH] despawn timer for mobs reset to 5 seconds min --- src/engine/mobileAI/Behaviours/StandardMob.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/engine/mobileAI/Behaviours/StandardMob.java b/src/engine/mobileAI/Behaviours/StandardMob.java index 518d3b1b..f637c8af 100644 --- a/src/engine/mobileAI/Behaviours/StandardMob.java +++ b/src/engine/mobileAI/Behaviours/StandardMob.java @@ -87,14 +87,14 @@ public class StandardMob { } //No items in inventory. } else if (mob.isHasLoot()) { - if (System.currentTimeMillis() > mob.deathTime + 1000L) { + if (System.currentTimeMillis() > mob.deathTime + MBServerStatics.DESPAWN_TIMER_ONCE_LOOTED) { mob.despawn(); mob.deathTime = System.currentTimeMillis(); return; } //Mob never had Loot. } else { - if (System.currentTimeMillis() > mob.deathTime + 1000L){//MBServerStatics.DESPAWN_TIMER_ONCE_LOOTED) { + if (System.currentTimeMillis() > mob.deathTime + MBServerStatics.DESPAWN_TIMER_ONCE_LOOTED) { mob.despawn(); mob.deathTime = System.currentTimeMillis(); return;