Changed method used to direct bounds

This commit is contained in:
MagicBot committed 2023-10-19 08:15:22 -04:00
1 parent 4274e6a148
commit 944bcb7e84
1 file changed
+2 -1
+2 -1
View File
@@ -951,8 +951,9 @@ public enum BuildingManager {
if (building == null)
continue;
;
if (Bounds.collide(loc, building))
if (Bounds.collide(loc, building.getBounds()))
return building;
}