1.21.7: PlayerResourcePackStatusEvent not fired
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 12.7k
- Forks
- 3.5k
- Avg merge
- 3d 13h
- Merged PRs (30d)
- 11
Description
Expected behavior
In 1.21.7 the PlayerResourcePackStatusEvent was not fired for Server RessourcePacks that are configured in the server.properties
Observed/Actual behavior
The Output from:
player.sendMessage("HasResourcePack: " + player.hasResourcePack());
player.sendMessage("ResourcePackStatus: " + player.getResourcePackStatus());
Is:
HasResourcePack: false
ResourcePackStatus: null
Steps/models to reproduce
Add RessourcePack to server.properties
Implement Debug Command to check ResourcePackStatus or Event triggering
Plugin and Datapack List
Nothing
Paper version
This server is running Paper version 1.21.7-DEV-main@bda8406 (1970-01-01T00:00:00Z) (Implementing API version 1.21.7-R0.1-SNAPSHOT)
You are running the latest version
Other
Client Version 1.21.7
No Proxy
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the issue with a resource pack configured in server.properties and the debug command described in the report. Check whether PlayerResourcePackStatusEvent fires and whether hasResourcePack() or getResourcePackStatus() reports the expected state; done means configured server resource packs produce the expected event and status.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- api, backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100