Changed method used to direct bounds
This commit is contained in:
1 parent
4274e6a148
commit
944bcb7e84
1 file changed
+2
-1
@@ -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