Fixed recursive call

This commit is contained in:
极夜暗芒使 2015-10-07 17:04:27 +08:00
parent cbef0e25a1
commit 4e59d85cca

View File

@ -378,7 +378,7 @@ abstract class BaseInventory implements Inventory{
} }
public function setMaxStackSize($size){ public function setMaxStackSize($size){
$this->setMaxStackSize($size); $this->maxStackSize = (int) $size;
} }
public function open(Player $who){ public function open(Player $who){