mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-08 19:02:59 +00:00
Fixed some items not keeping meta when constructed, close #968
This commit is contained in:
@ -26,7 +26,7 @@ namespace pocketmine\item;
|
||||
|
||||
class Diamond extends Item{
|
||||
public function __construct($meta = 0, $count = 1){
|
||||
parent::__construct(self::DIAMOND, 0, $count, "Diamond");
|
||||
parent::__construct(self::DIAMOND, $meta, $count, "Diamond");
|
||||
}
|
||||
|
||||
}
|
Reference in New Issue
Block a user