Merge branch 'stable' of https://github.com/pmmp/pocketmine-mp into stable

This commit is contained in:
Dylan K. Taylor
2021-02-11 16:05:24 +00:00
3 changed files with 8 additions and 9 deletions

View File

@@ -84,7 +84,6 @@ class CraftingDataPacket extends DataPacket{
case self::ENTRY_SHAPELESS_CHEMISTRY:
$entry["recipe_id"] = $this->getString();
$ingredientCount = $this->getUnsignedVarInt();
/** @var Item */
$entry["input"] = [];
for($j = 0; $j < $ingredientCount; ++$j){
$entry["input"][] = $in = $this->getRecipeIngredient();