CraftingTransaction: Don't hardcode crafting grid sizes

This commit is contained in:
Dylan K. Taylor
2017-11-28 17:13:23 +00:00
parent 98ac6fc7be
commit 878f1bffb9
3 changed files with 8 additions and 4 deletions

View File

@ -25,7 +25,7 @@ namespace pocketmine\inventory;
class BigCraftingGrid extends CraftingGrid{
public function getDefaultSize() : int{
return 9;
public function getGridWidth() : int{
return 3;
}
}