This is not needed anymore

This commit is contained in:
Dylan K. Taylor 2017-01-09 11:00:39 +00:00
parent 8902992473
commit 0a3fd8737a

View File

@ -2652,20 +2652,6 @@ class Player extends Human implements CommandSender, InventoryHolder, ChunkLoade
break;
}
/**
* @var int $i
* @var Item $item
*/
foreach($packet->input as $i => $item){
if($item->getDamage() === -1 or $item->getDamage() === 0xffff){
$item->setDamage(-1);
}
if($i < 9 and $item->getId() > 0){
$item->setCount(1);
}
}
$canCraft = true;
if($recipe instanceof ShapedRecipe){