IntellectualSites / IntellectualSites/PlotSquared
Entities like Armor Stands, Item Frames, Boats are not cleared on /plot clear or /plot delete when on edge
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.21.11
Describe the bug
Hello, when you place entities next to the wall (on the edge), and then use /plot clear or /plot delete, they're not deleted, which is a bit security issue.
Or in case the entity is moved a bit into the wall, then it won't be deleted neither.
To Reproduce
- Place entities like armor stand, boat, item frame, or any other next to the wall, or even push it into the wall, both should be fixed (when you use tools for armor stand editing, they can be pushed a bit into the wall & not deleted too, but it's maybe related to the firstly mentioned issue)
- Issue /plot clear or /plot delete
- Issue /plot confirm
- You'll see these entities weren't deleted. You can try place entity one more block farer from the edge where it will be normally deleted.
Expected behaviour
It should delete these entities, otherwise they'll be left on deleted plots or cleared plots.
Screenshots / Videos
These are deleted
Error log (if applicable)
No response
Plot Debugpaste
https://athion.net/ISPaster/paste/view/6881254477b14db99e7cebcca07e0eba
PlotSquared Version
7.5.10-SNAPSHOT
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
No source file or test is named. Reproduce on Paper 1.21.11 with PlotSquared 7.5.10-SNAPSHOT using /plot clear and /plot delete, placing entities at or inside the plot edge. Trace the entity-removal handling for these commands; done means edge entities are removed after confirmation without affecting entities outside the plot.
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
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100