Refixed recipe

This commit is contained in:
Shoghi Cervantes 2013-06-06 19:32:35 +02:00
parent 0bd8d0b0d0
commit 1179369666

View File

@ -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(