Revert inventory "fix" that's causing issues with quickly opening & closing inventories (#4523)

This commit is contained in:
chris 2024-03-27 01:47:21 +01:00 committed by GitHub
parent 4ea94f89a2
commit 85908690a3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 0 additions and 5 deletions

View File

@ -126,12 +126,7 @@ public class BedrockInteractTranslator extends PacketTranslator<InteractPacket>
} else {
InventoryUtils.openInventory(session, session.getPlayerInventory());
}
} else {
// Case: Player tries to open a player inventory, while we think it should be in a different inventory
// Now: Open the inventory that we're supposed to be in.
InventoryUtils.openInventory(session, session.getOpenInventory());
}
break;
}
}
}