Rename all "liquid" mentions to "fluid"
This commit is contained in:
@@ -205,7 +205,7 @@ function has_room(entities: EntityManager, mob: Mob) {
|
||||
for (let x = Math.floor(mob.x - half); x < mob.x + half; x++) {
|
||||
for (let y = Math.floor(mob.y); y < mob.y + mob.height; y++) {
|
||||
for (let z = Math.floor(mob.z - half); z < mob.z + half; z++) {
|
||||
if (entities.has_collision(x, y, z) || entities.is_liquid(x, y, z)) return false;
|
||||
if (entities.has_collision(x, y, z) || entities.is_fluid(x, y, z)) return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user