IntellectualSites / IntellectualSites/PlotSquared

Block (tile) entities appear to lose their data client-side after failing to be broken by a player

Open
#3,110 10 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Approved Bug
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
  1. Set up a plot world
  2. 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.)
  3. 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
Anything else?

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.