IntellectualSites / PlotSquared

PlotSquared - Reinventing the plotworld
GNU General Public License v3.0
544 stars 745 forks source link

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

Open TheosisOfficial opened 3 years ago

TheosisOfficial commented 3 years ago

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:

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

stale[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If the issue is still present and can be reproduced, please let the team know. Thank you for your contributions.

TheosisOfficial commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If the issue is still present and can be reproduced, please let the team know. Thank you for your contributions.

The issue is still present and can be reproduced.

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If the issue is still present and can be reproduced, please let the team know. Thank you for your contributions.

TheosisOfficial commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If the issue is still present and can be reproduced, please let the team know. Thank you for your contributions.

The issue is still present and can be reproduced in the latest release of PlotSquared.

PierreSchwang commented 2 years ago

Can confirm that this is an issue

dordsor21 commented 2 years ago

I cannot seem to reproduce this?

TheosisOfficial commented 2 years ago

I cannot seem to reproduce this?

That's really weird. I've just reproduced it in 6.2.2.

PierreSchwang commented 2 years ago

Seems to only occur in survival mode. creative mode doesn't seem to be affected: https://s.pschwang.eu/mY5Y.mp4

TheosisOfficial commented 2 years ago

Seems to only occur in survival mode. creative mode doesn't seem to be affected: https://s.pschwang.eu/mY5Y.mp4

Can confirm that this is the case, I've added an edit to the original post.

dordsor21 commented 1 year ago

Is this still an issue? I believe a fix to something similar/related may have been fixed this