mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-22 12:39:43 +00:00
fixed trpadoors, walls and beds hitboxes + projectile aabb fix for tallgrass
This commit is contained in:
parent
518f6a99a7
commit
057fb8898a
4 changed files with 105 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue