Merge branch 'stable'

This commit is contained in:
Dylan K. Taylor
2021-04-07 21:25:39 +01:00
29 changed files with 259 additions and 170 deletions

View File

@ -253,7 +253,7 @@ class InGamePacketHandler extends PacketHandler{
)
) or (
$this->craftingTransaction !== null &&
!$networkInventoryAction->oldItem->equals($networkInventoryAction->newItem) &&
!$networkInventoryAction->oldItem->getItemStack()->equals($networkInventoryAction->newItem->getItemStack()) &&
$networkInventoryAction->sourceType === NetworkInventoryAction::SOURCE_CONTAINER &&
$networkInventoryAction->windowId === ContainerIds::UI &&
$networkInventoryAction->inventorySlot === UIInventorySlotOffset::CREATED_ITEM_OUTPUT