Browse Source

Changed method used to direct bounds

magicbox-1.5.2
MagicBot 1 year ago
parent
commit
944bcb7e84
  1. 3
      src/engine/gameManager/BuildingManager.java

3
src/engine/gameManager/BuildingManager.java

@ -951,8 +951,9 @@ public enum BuildingManager {
if (building == null) if (building == null)
continue; continue;
;
if (Bounds.collide(loc, building)) if (Bounds.collide(loc, building.getBounds()))
return building; return building;
} }

Loading…
Cancel
Save