Stripped redundant trailing commas

This commit is contained in:
Dylan K. Taylor
2017-08-25 12:41:49 +01:00
parent ba27fff853
commit 8ce833bf74
25 changed files with 27 additions and 27 deletions

View File

@ -52,7 +52,7 @@ class DoubleStoneSlab extends Solid{
4 => "Brick",
5 => "Stone Brick",
6 => "Quartz",
7 => "Nether Brick",
7 => "Nether Brick"
];
return "Double " . $names[$this->meta & 0x07] . " Slab";
}
@ -60,7 +60,7 @@ class DoubleStoneSlab extends Solid{
public function getDrops(Item $item) : array{
if($item->isPickaxe() >= Tool::TIER_WOODEN){
return [
ItemFactory::get(Item::STONE_SLAB, $this->getDamage() & 0x07, 2),
ItemFactory::get(Item::STONE_SLAB, $this->getDamage() & 0x07, 2)
];
}