forked from MagicBane/Server
Changed method used to direct bounds
This commit is contained in:
@@ -951,8 +951,9 @@ public enum BuildingManager {
|
||||
|
||||
if (building == null)
|
||||
continue;
|
||||
;
|
||||
|
||||
if (Bounds.collide(loc, building))
|
||||
if (Bounds.collide(loc, building.getBounds()))
|
||||
return building;
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user