3 small fixes

This commit is contained in:
GameHerobrine 2023-10-27 19:40:35 +03:00
parent 7768ad03a9
commit 39bfa7115d
5 changed files with 23 additions and 2 deletions

View file

@ -15,4 +15,8 @@ class GlowstoneBlock extends TransparentBlock implements LightingBlock{
array(GLOWSTONE_DUST, 0, mt_rand(2, 4)),
);
}
public static function getCollisionBoundingBoxes(Level $level, $x, $y, $z, Entity $entity){
return [new AxisAlignedBB($x, $y, $z, $x + 1, $y + 1, $z + 1)];
}
}