Fixed recursive call

This commit is contained in:
极夜暗芒使 2015-10-07 17:04:27 +08:00 committed by Intyre
parent 84be56fefb
commit c4fb469b4e
No known key found for this signature in database
GPG Key ID: B06D41D26935005A

View File

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