IntellectualSites / IntellectualSites/PlotSquared
Block (tile) entities appear to lose their data client-side after failing to be broken by a player
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 653
- Forks
- 975
- Avg merge
- 2m
- Merged PRs (30d)
- 6
Description
Server Implementation
Paper
Server Version
1.16.5
Describe the bug
If a block entity is on the road or a plot that a player is not added to and they break it, it appears to lose its data from the perspective of the player until they either relog or reload the chunk that the block entity is in.
Examples:
- Signs appear to lose their text
- Spawners will appear as pig spawners
- Banners seem to become completely invisible
- Player heads appear as Steve heads
I'm pretty sure this is not a vanilla issue, as this issue is not present in protection plugins like WorldGuard.
EDIT: ONLY HAPPENS WHEN THE PLAYER IS IN SURVIVAL MODE!
To Reproduce
- Set up a plot world
- Have an opped player place block entities that have unique data (a sign with text, a spawner that isn't a pig, a player head that isn't Steve, etc.)
- Have a non-opped player attempt to break them and observe as they appear to lose their data from the perspective of that player
Expected behaviour
Upon failing to be broken, block entities should appear as they otherwise would.
Screenshots / Videos
No response
Error log (if applicable)
No response
Plot Debugpaste
https://athion.net/ISPaster/paste/view/7e7be974d1fb45968010f021ef98b889
PlotSquared Version
6.0.0-Premium
Checklist
- I have included a Plot debugpaste.
- I am using the newest build from https://www.spigotmc.org/resources/77506/ and the issue still persists.
Anything else?
No response
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 survival-mode case described in the issue using signs, spawners, banners, and player heads in a protected plot. Compare the failed-break view with a relog or chunk reload, using the linked Plot debugpaste for context. Done means block-entity data remains visible after the failed break without either refresh.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- game-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100