From dbca131a0f201b5c6c587adaa8093fd8a673809c Mon Sep 17 00:00:00 2001 From: MagicBot Date: Sun, 20 Aug 2023 20:38:44 -0400 Subject: [PATCH] Set dirty out to load range. --- src/engine/InterestManagement/InterestManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/engine/InterestManagement/InterestManager.java b/src/engine/InterestManagement/InterestManager.java index 0f90cd6f..20574411 100644 --- a/src/engine/InterestManagement/InterestManager.java +++ b/src/engine/InterestManagement/InterestManager.java @@ -567,7 +567,7 @@ public enum InterestManager implements Runnable { public static void setObjectDirty(AbstractWorldObject abstractWorldObject) { - HashSet playerList = WorldGrid.getObjectsInRangePartial(abstractWorldObject.getLoc(), 128, MBServerStatics.MASK_PLAYER); + HashSet playerList = WorldGrid.getObjectsInRangePartial(abstractWorldObject.getLoc(), MBServerStatics.LOOT_RANGE, MBServerStatics.MASK_PLAYER); if (playerList.isEmpty()) return;