fixed trpadoors, walls and beds hitboxes + projectile aabb fix for tallgrass

This commit is contained in:
GameHerobrine 2024-05-09 01:40:55 +03:00
parent 518f6a99a7
commit 057fb8898a
4 changed files with 105 additions and 1 deletions

View file

@ -24,6 +24,10 @@ class TallGrassBlock extends FlowableBlock{
return false;
}
public static function getAABB(Level $level, $x, $y, $z){
return null;
}
public function getDrops(Item $item, Player $player){
$drops = array();
if($item->isShears()) $drops[] = array($this->id, $this->meta & 0x03, 1);