mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-10-17 04:06:54 +00:00
Refixed recipe
This commit is contained in:
@@ -1497,6 +1497,10 @@ class Player{
|
|||||||
$craft = true;
|
$craft = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if($craft = true){
|
||||||
|
$this->lastCraft = microtime(true);
|
||||||
|
}
|
||||||
|
|
||||||
if($craft === true and count($this->craftingItems) > 0 and count($this->toCraft) > 0 and ($recipe = $this->craftItems($this->toCraft, $this->craftingItems, $this->toCraft[-1])) !== true){
|
if($craft === true and count($this->craftingItems) > 0 and count($this->toCraft) > 0 and ($recipe = $this->craftItems($this->toCraft, $this->craftingItems, $this->toCraft[-1])) !== true){
|
||||||
if($recipe === false){
|
if($recipe === false){
|
||||||
$this->dataPacket(MC_CONTAINER_CLOSE, array(
|
$this->dataPacket(MC_CONTAINER_CLOSE, array(
|
||||||
|
Reference in New Issue
Block a user