Start mobequip refactor
This commit is contained in:
@@ -783,7 +783,7 @@ public class MobAI {
|
||||
|
||||
if (!aiAgent.despawned) {
|
||||
|
||||
if (aiAgent.getCharItemManager().getInventoryCount() > 0) {
|
||||
if (aiAgent.charItemManager.getInventoryCount() > 0) {
|
||||
if (System.currentTimeMillis() > aiAgent.deathTime + MBServerStatics.DESPAWN_TIMER_WITH_LOOT) {
|
||||
aiAgent.despawn();
|
||||
aiAgent.deathTime = System.currentTimeMillis();
|
||||
|
||||
Reference in New Issue
Block a user