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

Backpack deletes items with keep inventory #175

Open
Kuggle01 opened this issue Jun 16, 2022 · 1 comment
Open

Backpack deletes items with keep inventory #175

Kuggle01 opened this issue Jun 16, 2022 · 1 comment

Comments

@Kuggle01
Copy link

The backpack deletes anything inside of it when you die with keep inventory on

@Mat5i6
Copy link

Mat5i6 commented Aug 14, 2022

Looks like this can be fixed by adding if(this.player.getSleepTimer() == 0) return; right under if (slot == 38 && !this.player.world.isClient) { inside MixinPlayerInventory.java. However this is some duct tape and bubble gum kind of patching up and I still have to test it for a longer period of time...
But until the authors fix it, this might help someone who desperately needs it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants