forked from MagicBane/Server
should never pull directly form cache
This commit is contained in:
@@ -868,7 +868,6 @@ public class City extends AbstractWorldObject {
|
||||
player.addCityEffect(Integer.toString(effectBase.getUUID()), effectBase, rank, MBServerStatics.FOURTYFIVE_SECONDS, false, this);
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
public Warehouse getWarehouse() {
|
||||
@@ -894,12 +893,6 @@ public class City extends AbstractWorldObject {
|
||||
return collided;
|
||||
}
|
||||
|
||||
public boolean isLocationOnCityGrid(Bounds newBounds) {
|
||||
|
||||
boolean collided = Bounds.collide(this.getBounds(), newBounds, 0);
|
||||
return collided;
|
||||
}
|
||||
|
||||
public boolean isLocationWithinSiegeBounds(Vector3fImmutable insideLoc) {
|
||||
|
||||
return insideLoc.isInsideCircle(this.getLoc(), CityBoundsType.ZONE.halfExtents);
|
||||
|
||||
Reference in New Issue
Block a user