Start mobequip refactor
This commit is contained in:
1 parent
0590ae64e7
commit
61c4cb1361
56 files changed
+198
-377
No files matched your search
@@ -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