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

Don't run player loot table for spectators #11464

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Machine-Maker
Copy link
Member

@Machine-Maker Machine-Maker commented Oct 2, 2024

I think there's also an issue with spectators and xp dropping, but I can't test that out right now. Until I check that, this can be a draft.

Fixes #11463


Download the paperclip jar for this pull request: paper-11464.zip

@Machine-Maker Machine-Maker added the build-pr-jar Enables a workflow to build Paperclip jars on the pull request. label Oct 2, 2024
@Doc94
Copy link
Contributor

Doc94 commented Oct 3, 2024

I test and experience its not dropped in spectator mode but this is because the "keepLevel" behaviour use the same logic for keep is the keep inventory is true or the player is in spectator. also the "logic" for get how many exp need to be dropped is 0 for spectator but not sure from where comes that.. i just found a call for EnchantmentHelper.processMobExperience but not sure.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build-pr-jar Enables a workflow to build Paperclip jars on the pull request.
Projects
Status: Awaiting review
Development

Successfully merging this pull request may close these issues.

Spectators drop player loot table
2 participants