mirror of
https://github.com/ProjectSWGCore/Holocore.git
synced 2026-10-10 00:13:42 -04:00
Removed unnecessary optimization
This commit is contained in:
@@ -188,7 +188,7 @@ public class ObjectAwareness extends Service implements TerrainMapCallback {
|
||||
SWGObject obj = i.getObject();
|
||||
Assert.notNull(obj);
|
||||
Assert.notNull(obj.getTerrain());
|
||||
transferContainers(obj, i.getContainer());
|
||||
moveObject(obj, i.getContainer(), obj.getLocation());
|
||||
}
|
||||
|
||||
private void handleZoneIn(CreatureObject creature, Player player, Location loc, SWGObject parent) {
|
||||
@@ -303,10 +303,6 @@ public class ObjectAwareness extends Service implements TerrainMapCallback {
|
||||
awarenessHandler.moveObject(obj, parent, requestedLocation);
|
||||
}
|
||||
|
||||
private void transferContainers(SWGObject obj, SWGObject newContainer) {
|
||||
awarenessHandler.transferContainers(obj, newContainer);
|
||||
}
|
||||
|
||||
private void moveObjectWithTransform(SWGObject obj, SWGObject parent, Location requestedLocation, double speed, int update) {
|
||||
moveObject(obj, parent, requestedLocation);
|
||||
if (parent == null)
|
||||
|
||||
Reference in New Issue
Block a user