mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-20 10:24:07 +00:00
Remove unused variable
This commit is contained in:
parent
53aa380ca3
commit
aef4fa7174
@ -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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user