mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/4jcraft.git
synced 2026-06-11 19:01:55 +00:00
fix: restore ghast reach checks and fire collision bounds after AABB refactor
This commit is contained in:
@@ -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++;
|
||||
|
||||
Reference in New Issue
Block a user