object = new PlayerMapObject(entity);
} else if (entity instanceof Player) {
object = new PlayerMapObject(entity);
} else if (entity instanceof Portal) {
final Portal portal = (Portal) entity;
if (!portal.isHidden()) {
mapObjects.put(entity, new PortalMapObject(entity));
}
} else if (entity instanceof HousePortal) {
object = new PortalMapObject(entity);
} else if (entity instanceof WalkBlocker) {