mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 19:49:44 +00:00
Refixed recipe
This commit is contained in:
parent
0bd8d0b0d0
commit
1179369666
1 changed files with 4 additions and 0 deletions
|
|
@ -1496,6 +1496,10 @@ class Player{
|
|||
$this->toCraft[$data["slot"]] = $craftItem;
|
||||
$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){
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue