refactor: make Tile::getTileAABB return AABB

This commit is contained in:
orng
2026-03-28 00:30:07 -05:00
parent 7158fd398f
commit ddfe9b3d48
21 changed files with 25 additions and 26 deletions

View File

@@ -27,7 +27,7 @@ void SignTile::updateDefaultShape() {
std::optional<AABB> SignTile::getAABB(Level* level, int x, int y, int z) { return std::nullopt; }
AABB* SignTile::getTileAABB(Level* level, int x, int y, int z) {
AABB SignTile::getTileAABB(Level* level, int x, int y, int z) {
updateShape(level, x, y, z);
return BaseEntityTile::getTileAABB(level, x, y, z);
}