CraftingTransaction: fixed ingredient map trimming (again)

closes #2118
This commit is contained in:
Dylan K. Taylor 2018-03-25 13:46:39 +01:00
parent c0c684b12e
commit 0dd8fd2651

View File

@ -105,10 +105,10 @@ class CraftingTransaction extends InventoryTransaction{
} }
private function reindexInputs() : array{ private function reindexInputs() : array{
$minX = 0; $minX = PHP_INT_MAX;
$maxX = 0; $maxX = 0;
$minY = 0; $minY = PHP_INT_MAX;
$maxY = 0; $maxY = 0;
$empty = true; $empty = true;