Removed unnecessary optimization

This commit is contained in:
Obique PSWG
2017-06-15 00:04:24 -05:00
parent 6cd6917b12
commit 91c488e757
3 changed files with 2 additions and 32 deletions
+1 -5
View File
@@ -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)