Rename all "liquid" mentions to "fluid"
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user