diff --git a/src/engine/InterestManagement/InterestManager.java b/src/engine/InterestManagement/InterestManager.java index 07186d5b..7b429523 100644 --- a/src/engine/InterestManagement/InterestManager.java +++ b/src/engine/InterestManagement/InterestManager.java @@ -547,7 +547,7 @@ public enum InterestManager implements Runnable { public static void setObjectDirty(AbstractWorldObject abstractWorldObject) { - HashSet playerList = WorldGrid.getObjectsInRangePartial(abstractWorldObject.getLoc(), MBServerStatics.LOOT_RANGE, MBServerStatics.MASK_PLAYER); + HashSet playerList = WorldGrid.getObjectsInRangePartial(abstractWorldObject.getLoc(), MBServerStatics.CHARACTER_LOAD_RANGE, MBServerStatics.MASK_PLAYER); if (playerList.isEmpty()) return; diff --git a/src/engine/net/client/handlers/PlaceAssetMsgHandler.java b/src/engine/net/client/handlers/PlaceAssetMsgHandler.java index 173c8b1f..382b6547 100644 --- a/src/engine/net/client/handlers/PlaceAssetMsgHandler.java +++ b/src/engine/net/client/handlers/PlaceAssetMsgHandler.java @@ -1199,7 +1199,6 @@ public class PlaceAssetMsgHandler extends AbstractClientMsgHandler { newMesh.setObjectTypeMask(MBServerStatics.MASK_BUILDING); MaintenanceManager.setMaintDateTime(newMesh, LocalDateTime.now().plusDays(7)); - // WorldGrid.addObject(newMesh, playerCharacter); newMesh.setLoc(newMesh.getLoc()); InterestManager.setObjectDirty(newMesh); return newMesh;