mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-07 18:32:55 +00:00
Regenerated block/item id lists and refactored some names for consistency with MCPE
This commit is contained in:
@ -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 [];
|
||||
|
Reference in New Issue
Block a user