mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-07 02:08:21 +00:00
Torches can now be crafted using charcoal
This commit is contained in:
@ -24,7 +24,7 @@ namespace pocketmine\item;
|
||||
|
||||
class Coal extends Item{
|
||||
public function __construct($meta = 0, $count = 1){
|
||||
parent::__construct(self::COAL, $meta & 0x01, $count, "Coal");
|
||||
parent::__construct(self::COAL, $meta, $count, "Coal");
|
||||
if($this->meta === 1){
|
||||
$this->name = "Charcoal";
|
||||
}
|
||||
|
Reference in New Issue
Block a user