Remove leftover debug code in Sector.

This commit is contained in:
Major-
2015-01-12 02:55:07 +00:00
parent e5fb8a9529
commit 640032a06e
@@ -162,7 +162,6 @@ public final class Sector {
* @throws IllegalArgumentException If the entity does not belong in this sector, or if it was never added. * @throws IllegalArgumentException If the entity does not belong in this sector, or if it was never added.
*/ */
public void removeEntity(Entity entity) { public void removeEntity(Entity entity) {
try {
Position position = entity.getPosition(); Position position = entity.getPosition();
checkPosition(position); checkPosition(position);
@@ -173,10 +172,6 @@ public final class Sector {
} }
notifyListeners(entity, SectorOperation.REMOVE); notifyListeners(entity, SectorOperation.REMOVE);
} catch (Exception e) {
e.printStackTrace();
throw e;
}
} }
} }