Flatten Item variants, remove Item->setDamage()

This commit is contained in:
Dylan K. Taylor
2018-10-06 20:09:11 +01:00
parent 14ef4558c2
commit 5fb7825485
9 changed files with 138 additions and 49 deletions

View File

@ -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;