Fixes for Chest & Furnace

This commit is contained in:
Shoghi Cervantes
2014-05-26 10:46:30 +02:00
parent 274f972b58
commit ffa3e8a0aa
3 changed files with 17 additions and 14 deletions

View File

@ -2057,12 +2057,11 @@ class Player extends Human implements CommandSender, InventoryHolder, IPlayer{
}
$this->craftingItems = [];
}
break;
}else{
$this->toCraft = [];
$this->craftingItems = [];
}
if(!isset($this->windowIndex[$packet->windowid])){
if($packet->windowid == 0 or !isset($this->windowIndex[$packet->windowid])){
break;
}