|
|
|
@ -87,14 +87,14 @@ public class StandardMob {
@@ -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; |
|
|
|
|