fix water render issues

This commit is contained in:
LabyStudio
2022-05-05 00:04:07 +02:00
parent d846613ca9
commit a3a4d44386
4 changed files with 30 additions and 20 deletions
+2 -2
View File
@@ -301,9 +301,9 @@ export default class World {
return typeId !== 0 && Block.getById(typeId).isSolid();
}
isTransparentBlockAt(x, y, z) {
isTranslucentBlockAt(x, y, z) {
let typeId = this.getBlockAt(x, y, z);
return typeId === 0 || Block.getById(typeId).isTransparent();
return typeId === 0 || Block.getById(typeId).isTranslucent();
}
setBlockAt(x, y, z, type) {