Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix horse inventories #11139

Merged
merged 1 commit into from
Jul 22, 2024
Merged

Fix horse inventories #11139

merged 1 commit into from
Jul 22, 2024

Conversation

Lulu13022002
Copy link
Contributor

Closes #11135

I also noticed that currently it's not possible to set any item in slot 2 (first slot in the chest for llama/mule) which is the slot hidden by the armor slot in the implementation. This pr fixes that by shifting the index for slot greater than the armor slot to cover the missing slot and realign the index to be consistent with the inventory size.

@Lulu13022002 Lulu13022002 requested a review from a team as a code owner July 21, 2024 19:30
@lynxplay lynxplay merged commit 73a863b into PaperMC:master Jul 22, 2024
4 checks passed
@Lulu13022002 Lulu13022002 deleted the fix/horse-inv branch December 23, 2024 17:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Merged
Development

Successfully merging this pull request may close these issues.

ArmoredHorseInventory#setArmor does not function properly
3 participants