mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-22 00:33:59 +00:00
This is not needed anymore
This commit is contained in:
parent
8902992473
commit
0a3fd8737a
@ -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){
|
||||
|
Loading…
x
Reference in New Issue
Block a user