IntellectualSites / IntellectualSites/PlotSquared

Pistons can delete plot walls

Open
#3,716 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Bug
Dominant language
Java
Stars
653
Forks
975
Avg merge
2m
Merged PRs (30d)
6

Description

Server Implementation

Paper

Server Version

1.19

Describe the bug

Sticky pistons can be used to delete plot wall blocks.

Note: happens on 1.18.2 and presumably earlier versions as well.

https://user-images.githubusercontent.com/58818927/176791278-f442055d-3a6c-4d15-b08c-46555df58ed9.mov

To Reproduce
  1. Place sticky piston at the edge of your plot pointing to the road.
  2. Turn it into a headless piston using the debug stick (set the extended block property to true).
  3. Update the piston by placing a block next to it.
  4. Wall block disappears.
Expected behaviour

I expected the wall block to not disappear.

Screenshots / Videos

No response

Error log (if applicable)

No response

Plot Debugpaste

https://athion.net/ISPaster/paste/view/d44d61891e3c4dc98c2d26a1ed3e442b

PlotSquared Version

6.9.1-SNAPSHOT

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 sticky-piston sequence described in the issue on PlotSquared 6.9.1-SNAPSHOT, using the linked Plot debugpaste for context. Trace the plot-wall protection handling for piston block updates. Done means updating a headless sticky piston at a plot edge no longer deletes the wall block.

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.