mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-21 08:17:34 +00:00
Torches can now be crafted using charcoal
This commit is contained in:
parent
01f299a7f1
commit
9907e84eee
@ -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";
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user