From 117936966635367a0eb0679783c7d09fc5deb1c5 Mon Sep 17 00:00:00 2001 From: Shoghi Cervantes Date: Thu, 6 Jun 2013 19:32:35 +0200 Subject: [PATCH] Refixed recipe --- src/Player.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/Player.php b/src/Player.php index 327e3faa0..4260da0e0 100644 --- a/src/Player.php +++ b/src/Player.php @@ -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){