Remove unused variable

This commit is contained in:
Dylan K. Taylor 2024-11-24 23:50:30 +00:00
parent 53aa380ca3
commit aef4fa7174
No known key found for this signature in database
GPG Key ID: 8927471A91CAFD3D

View File

@ -592,7 +592,6 @@ class InventoryManager{
$info = $this->trackItemStack($entry, $slot, $itemStack, null);
$contents[] = new ItemStackWrapper($info->getStackId(), $itemStack);
}
$clearSlotWrapper = new ItemStackWrapper(0, ItemStack::null());
if($entry->complexSlotMap !== null){
foreach($contents as $slotId => $info){
$packetSlot = $entry->complexSlotMap->mapCoreToNet($slotId) ?? null;