Rename all "liquid" mentions to "fluid"

This commit is contained in:
2026-10-25 13:54:53 -03:00
parent bcca8fa4a5
commit 0cfa4d9b4a
58 changed files with 547 additions and 548 deletions
+1 -1
View File
@@ -53,7 +53,7 @@ export class GameRenderer {
#render_underwater(client: Client) {
const { x, y, z } = client.camera;
const [bx, by, bz] = [Math.floor(x), Math.floor(y), Math.floor(z)];
if (!client.level.is_liquid(bx, by, bz)) return;
if (!client.level.is_fluid(bx, by, bz)) return;
const color = client.level.water_color(bx, bz);
draw_rect(0, 0, canvas.width, canvas.height, [
(color >> 16) / 255,