Browse Source

Set dirty out to load range.

master
MagicBot 1 year ago
parent
commit
dbca131a0f
  1. 2
      src/engine/InterestManagement/InterestManager.java

2
src/engine/InterestManagement/InterestManager.java

@ -567,7 +567,7 @@ public enum InterestManager implements Runnable {
public static void setObjectDirty(AbstractWorldObject abstractWorldObject) { public static void setObjectDirty(AbstractWorldObject abstractWorldObject) {
HashSet<AbstractWorldObject> playerList = WorldGrid.getObjectsInRangePartial(abstractWorldObject.getLoc(), 128, MBServerStatics.MASK_PLAYER); HashSet<AbstractWorldObject> playerList = WorldGrid.getObjectsInRangePartial(abstractWorldObject.getLoc(), MBServerStatics.LOOT_RANGE, MBServerStatics.MASK_PLAYER);
if (playerList.isEmpty()) if (playerList.isEmpty())
return; return;

Loading…
Cancel
Save