mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-05 17:36:12 +00:00
Allow Blocks to specify their max stack size
This commit is contained in:
@ -45,4 +45,8 @@ class ItemBlock extends Item{
|
||||
public function getFuelTime() : int{
|
||||
return $this->getBlock()->getFuelTime();
|
||||
}
|
||||
|
||||
public function getMaxStackSize() : int{
|
||||
return $this->getBlock()->getMaxStackSize();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user