Regenerated block/item id lists and refactored some names for consistency with MCPE

This commit is contained in:
Dylan K. Taylor
2017-08-04 12:16:44 +01:00
parent 3048a3b39b
commit 561d8e7a39
39 changed files with 301 additions and 282 deletions

View File

@ -28,7 +28,7 @@ use pocketmine\item\Tool;
class NetherBrick extends Solid{
protected $id = self::NETHER_BRICKS;
protected $id = self::NETHER_BRICK;
public function __construct($meta = 0){
$this->meta = $meta;
@ -49,7 +49,7 @@ class NetherBrick extends Solid{
public function getDrops(Item $item){
if($item->isPickaxe() >= Tool::TIER_WOODEN){
return [
[Item::NETHER_BRICKS, 0, 1],
[Item::NETHER_BRICK, 0, 1],
];
}else{
return [];