Skip to content

Entities like Armor Stands, Item Frames, Boats are not cleared on /plot clear or /plot delete when on edge #4833

@bobhenl

Description

@bobhenl

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.

Image

To Reproduce

  1. 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)
  2. Issue /plot clear or /plot delete
  3. Issue /plot confirm
  4. 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

Image These are not deleted (1 block from the wall)

These are deleted

Image (2 blocks from the wall)

Error log (if applicable)

No response

Plot Debugpaste

https://athion.net/ISPaster/paste/view/6881254477b14db99e7cebcca07e0eba

PlotSquared Version

7.5.10-SNAPSHOT

Checklist

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Requires TestingThis is a new issue which needs to be approved before labeled with "bug"

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions