mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-22 20:49:43 +00:00
fence should collide with entities, gravel fix
This commit is contained in:
parent
b115c19093
commit
7768ad03a9
4 changed files with 37 additions and 6 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue