mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-05 09:26:06 +00:00
Remove unused variable
This commit is contained in:
@ -592,7 +592,6 @@ class InventoryManager{
|
|||||||
$info = $this->trackItemStack($entry, $slot, $itemStack, null);
|
$info = $this->trackItemStack($entry, $slot, $itemStack, null);
|
||||||
$contents[] = new ItemStackWrapper($info->getStackId(), $itemStack);
|
$contents[] = new ItemStackWrapper($info->getStackId(), $itemStack);
|
||||||
}
|
}
|
||||||
$clearSlotWrapper = new ItemStackWrapper(0, ItemStack::null());
|
|
||||||
if($entry->complexSlotMap !== null){
|
if($entry->complexSlotMap !== null){
|
||||||
foreach($contents as $slotId => $info){
|
foreach($contents as $slotId => $info){
|
||||||
$packetSlot = $entry->complexSlotMap->mapCoreToNet($slotId) ?? null;
|
$packetSlot = $entry->complexSlotMap->mapCoreToNet($slotId) ?? null;
|
||||||
|
Reference in New Issue
Block a user