mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-07 18:32:55 +00:00
Flatten Item variants, remove Item->setDamage()
This commit is contained in:
@ -25,12 +25,6 @@ namespace pocketmine\item;
|
||||
|
||||
|
||||
class Coal extends Item{
|
||||
public function __construct(int $meta = 0){
|
||||
parent::__construct(self::COAL, $meta, "Coal");
|
||||
if($this->meta === 1){
|
||||
$this->name = "Charcoal";
|
||||
}
|
||||
}
|
||||
|
||||
public function getFuelTime() : int{
|
||||
return 1600;
|
||||
|
Reference in New Issue
Block a user