mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-07 10:22:56 +00:00
Improved Item property handling
This commit is contained in:
@ -25,7 +25,9 @@ namespace pocketmine\item;
|
||||
class MushroomStew extends Item{
|
||||
public function __construct($meta = 0, $count = 1){
|
||||
parent::__construct(self::MUSHROOM_STEW, 0, $count, "Mushroom Stew");
|
||||
$this->maxStackSize = 1;
|
||||
}
|
||||
|
||||
public function getMaxStackSize(){
|
||||
return 1;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user