mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-07-03 00:29:54 +00:00
Refixed recipe
This commit is contained in:
parent
0bd8d0b0d0
commit
1179369666
@ -1497,6 +1497,10 @@ class Player{
|
||||
$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($recipe === false){
|
||||
$this->dataPacket(MC_CONTAINER_CLOSE, array(
|
||||
|
Loading…
x
Reference in New Issue
Block a user