mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 11:39:43 +00:00
fixed ladder collisions with entities
This commit is contained in:
parent
ab79797587
commit
b4873bfd3b
1 changed files with 5 additions and 0 deletions
|
|
@ -23,6 +23,11 @@ class LadderBlock extends TransparentBlock{
|
|||
|
||||
return parent::getAABB($level, $x, $y, $z);
|
||||
}
|
||||
|
||||
public static function getCollisionBoundingBoxes(Level $level, $x, $y, $z, Entity $entity){
|
||||
return [static::getAABB($level, $x, $y, $z)];
|
||||
}
|
||||
|
||||
public function __construct($meta = 0){
|
||||
parent::__construct(LADDER, $meta, "Ladder");
|
||||
$this->isSolid = false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue