mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-20 16:00:20 +00:00
Fixed undefined index on Slab
This commit is contained in:
parent
f7af625407
commit
eca8fbce30
@ -30,6 +30,7 @@ class SlabBlock extends TransparentBlock{
|
||||
4 => "Brick",
|
||||
5 => "Stone Brick",
|
||||
6 => "Quartz",
|
||||
7 => "",
|
||||
);
|
||||
$this->name = (($this->meta & 0x08) === 0x08 ? "Upper ":"") . $names[$this->meta & 0x07] . " Slab";
|
||||
if(($this->meta & 0x08) === 0x08){
|
||||
|
Loading…
x
Reference in New Issue
Block a user