Quartz slabs

This commit is contained in:
Shoghi Cervantes 2013-08-20 02:24:15 +02:00
parent 19b3ac4a99
commit 7a37b0e4bf
2 changed files with 3 additions and 2 deletions

View File

@ -64,6 +64,7 @@ class BlockAPI{
array(SLAB, 3),
array(SLAB, 4),
array(SLAB, 5),
array(SLAB, 6),
array(QUARTZ_BLOCK, 0),
array(QUARTZ_BLOCK, 1),
array(QUARTZ_BLOCK, 2),

View File

@ -35,8 +35,8 @@ class SlabBlock extends TransparentBlock{
3 => "Cobblestone",
4 => "Brick",
5 => "Stone Brick",
6 => "Nether Brick",
7 => "Quartz",
//6 => "Nether Brick",
6 => "Quartz",
);
$this->name = (($this->meta & 0x08) === 0x08 ? "Upper ":"") . $names[$this->meta & 0x07] . " Slab";
if(($this->meta & 0x08) === 0x08){