fence should collide with entities, gravel fix

This commit is contained in:
GameHerobrine 2023-10-27 19:06:26 +03:00
parent b115c19093
commit 7768ad03a9
4 changed files with 37 additions and 6 deletions

View file

@ -32,7 +32,7 @@ class IronBarsBlock extends TransparentBlock{
}
public static function canConnectTo($blockID) : bool{
return StaticBlock::getIsSolid($blockID) || $blockID == GLASS_PANE || $blockID == GLASS; //glass_pane & glass, in 1.5.2 iron fence is just BlockPane which is glass pane
return StaticBlock::getIsSolid($blockID) || $blockID == IRON_BARS || $blockID == GLASS;
}
}