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

Spectators drop player loot table #11463

Open
GrantGryczan opened this issue Oct 2, 2024 · 0 comments · May be fixed by #11464
Open

Spectators drop player loot table #11463

GrantGryczan opened this issue Oct 2, 2024 · 0 comments · May be fixed by #11464
Assignees
Labels
status: accepted Disputed bug is accepted as valid or Feature accepted as desired to be added. type: bug Something doesn't work as it was intended to. version: 1.21.1

Comments

@GrantGryczan
Copy link

GrantGryczan commented Oct 2, 2024

Expected behavior

Players in spectator mode should NOT drop a loot table on death, just like in vanilla.

Observed/Actual behavior

Players in spectator mode drop the minecraft:entities/player loot table on death.

Steps/models to reproduce

  1. Install this minimal reproduction data pack by copying it into the server's world > datapacks folder. This adds a player head to the player's loot table unconditionally.
  2. Op yourself in the server console.
  3. Join the server, and enter /gamemode spectator.
  4. Enter /kill @s.
  5. Observe that a player head dropped. In vanilla or Paper, nothing drops.

Plugin and Datapack List

Just the minimal reproduction data pack.

Paper version

> version
[16:38:13 INFO]: This server is running Paper version 1.21.1-118-master@fb76840 (2024-10-02T12:49:56Z) (Implementing API version 1.21.1-R0.1-SNAPSHOT)
You are running the latest version
Previous version: 1.21.1-2315-2a50638 (MC: 1.21.1)

Other

I have not tested if this is also a bug upstream in Spigot, as the Spigot download link currently times out for me.

@GrantGryczan GrantGryczan added status: needs triage type: bug Something doesn't work as it was intended to. labels Oct 2, 2024
@Machine-Maker Machine-Maker linked a pull request Oct 2, 2024 that will close this issue
@Lulu13022002 Lulu13022002 added the status: accepted Disputed bug is accepted as valid or Feature accepted as desired to be added. label Oct 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: accepted Disputed bug is accepted as valid or Feature accepted as desired to be added. type: bug Something doesn't work as it was intended to. version: 1.21.1
Projects
Status: ✅ Accepted
Development

Successfully merging a pull request may close this issue.

4 participants