mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-07 02:08:21 +00:00
Item: remove redundant meta constructor params
these ctor params should only be used for variants in the ItemFactory registration, but all of these items have no non-zero variants anyway.
This commit is contained in:
@ -34,8 +34,8 @@ class WritableBook extends Item{
|
||||
public const TAG_PAGE_TEXT = "text"; //TAG_String
|
||||
public const TAG_PAGE_PHOTONAME = "photoname"; //TAG_String - TODO
|
||||
|
||||
public function __construct(int $meta = 0){
|
||||
parent::__construct(self::WRITABLE_BOOK, $meta, "Book & Quill");
|
||||
public function __construct(){
|
||||
parent::__construct(self::WRITABLE_BOOK, 0, "Book & Quill");
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user