mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 11:39:43 +00:00
signs will not destroy under water flow anymore
This commit is contained in:
parent
8353607451
commit
684e366009
1 changed files with 2 additions and 2 deletions
|
|
@ -29,12 +29,12 @@ class LiquidBlockDynamic extends LiquidBlock{
|
|||
|
||||
if($id == AIR) return false;
|
||||
|
||||
if($id == DOOR_BLOCK || $id == SIGN || $id == LADDER || $id == SUGARCANE_BLOCK) return true;
|
||||
if($id == DOOR_BLOCK || $id == SIGN_POST || $id == WALL_SIGN || $id == LADDER || $id == SUGARCANE_BLOCK) return true;
|
||||
|
||||
if($id == CARPET || $id == SNOW_LAYER || $id == RAIL || $id == POWERED_RAIL) return false; //TODO Tile::getThickness() > 0
|
||||
|
||||
//TODO materials
|
||||
//if(!StaticBlock::getIsFlowable($id)) return 1;
|
||||
if(!StaticBlock::getIsFlowable($id)) return true;
|
||||
return StaticBlock::getIsSolid($id);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue