fix: restore ghast reach checks and fire collision bounds after AABB refactor

This commit is contained in:
MatthewBeshay
2026-03-28 20:29:12 +11:00
parent 8cbdb636aa
commit c12f32f637
2 changed files with 5 additions and 4 deletions

View File

@@ -885,8 +885,8 @@ void Entity::move(double xa, double ya, double za,
checkInsideTiles();
bool water = isInWaterOrRain();
const AABB& shrunk = bb.shrink(0.001, 0.001, 0.001);
if (level->containsFireTile(&bb)) {
AABB shrunk = bb.shrink(0.001, 0.001, 0.001);
if (level->containsFireTile(&shrunk)) {
burn(1);
if (!water) {
onFire++;