Allow Blocks to specify their max stack size

This commit is contained in:
Dylan K. Taylor
2021-06-30 19:28:16 +01:00
parent 91d54ff0ad
commit 7a35fdb1bb
8 changed files with 29 additions and 41 deletions

View File

@ -45,4 +45,8 @@ class ItemBlock extends Item{
public function getFuelTime() : int{
return $this->getBlock()->getFuelTime();
}
public function getMaxStackSize() : int{
return $this->getBlock()->getMaxStackSize();
}
}