mirror of
https://github.com/GabsPuNs/Project-Zenith-Main.git
synced 2026-05-27 21:24:37 +00:00
TU24
This commit is contained in:
@@ -2,7 +2,6 @@
|
||||
#include "net.minecraft.world.level.h"
|
||||
#include "LiquidTileDynamic.h"
|
||||
#include "net.minecraft.world.level.dimension.h"
|
||||
#include "DoorTile.h"
|
||||
|
||||
LiquidTileDynamic::LiquidTileDynamic(int id, Material *material) : LiquidTile(id, material)
|
||||
{
|
||||
@@ -296,7 +295,7 @@ bool *LiquidTileDynamic::getSpread(Level *level, int x, int y, int z)
|
||||
bool LiquidTileDynamic::isWaterBlocking(Level *level, int x, int y, int z)
|
||||
{
|
||||
int t = level->getTile(x, y, z);
|
||||
if (DoorTile::isDoor(t) || t == Tile::door_iron_Id || t == Tile::sign_Id || t == Tile::ladder_Id || t == Tile::reeds_Id)
|
||||
if (t == Tile::door_wood_Id || t == Tile::door_iron_Id || t == Tile::sign_Id || t == Tile::ladder_Id || t == Tile::reeds_Id)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user