mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 09:56:06 +00:00
Improved entity movement ySize offset
This commit is contained in:
@ -48,7 +48,7 @@ class Slab extends Transparent{
|
||||
6 => "Quartz",
|
||||
7 => "",
|
||||
];
|
||||
return (($this->meta & 0x08) === 0x08 ? "Upper " : "") . $names[$this->meta & 0x07] . " Slab";
|
||||
return (($this->meta & 0x08) > 0 ? "Upper " : "") . $names[$this->meta & 0x07] . " Slab";
|
||||
}
|
||||
|
||||
protected function recalculateBoundingBox(){
|
||||
|
Reference in New Issue
Block a user