mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-12 14:35:35 +00:00
Merge branch 'master' into mcpe-1.2
This commit is contained in:
commit
f35ca147bb
@ -2911,9 +2911,9 @@ class Player extends Human implements CommandSender, ChunkLoader, IPlayer{
|
||||
|
||||
$recipe = $this->server->getCraftingManager()->getRecipe($packet->id);
|
||||
|
||||
if($recipe === null or (($recipe instanceof BigShapelessRecipe or $recipe instanceof BigShapedRecipe) and $this->craftingType === 0)){
|
||||
if($recipe === null or (($recipe instanceof BigShapelessRecipe or $recipe instanceof BigShapedRecipe) and $this->craftingType === 0) or count($packet->input) === 0){
|
||||
$this->inventory->sendContents($this);
|
||||
return true;
|
||||
return false;
|
||||
}
|
||||
|
||||
$canCraft = true;
|
||||
|
@ -1 +1 @@
|
||||
Subproject commit b296436579580cc48fc1bdb1b0af4363305991fb
|
||||
Subproject commit 4ade26741e8050de196e4c12af01b8b42e76e6e7
|
@ -1 +1 @@
|
||||
Subproject commit 26a03d6d467f7e505a292610078b65c0205e4ed8
|
||||
Subproject commit e963064839334ce95e297df69bfe8af5fa95ab3a
|
Loading…
x
Reference in New Issue
Block a user