mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 01:46:04 +00:00
Improved Item property handling
This commit is contained in:
@ -26,7 +26,10 @@ use pocketmine\block\Block;
|
||||
class Sign extends Item{
|
||||
public function __construct($meta = 0, $count = 1){
|
||||
$this->block = Block::get(Item::SIGN_POST);
|
||||
$this->maxStackSize = 16;
|
||||
parent::__construct(self::SIGN, 0, $count, "Sign");
|
||||
}
|
||||
|
||||
public function getMaxStackSize(){
|
||||
return 16;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user