Skip to content

Conversation

pop4959
Copy link
Member

@pop4959 pop4959 commented Jul 9, 2020

Fixes a problem where skeleton trapped horses cannot be killed in commands such as /remove skeletonhorse (or even /remove all) because they are tamed by non-player entities. There is a separate command for killing tamed entities, however this kills other player-owned entities which is undesirable.

This can be replicated easily by spawning some skeleton traps like so:
/summon skeleton_horse ~ ~ ~ {SkeletonTrap:1}
and then attempting to run /killall skeletonhorse.

After this small change, any tamed skeleton horses will be retained, but non-player-owned skeleton horses will be removed as appropriate.

Closes #3475.

@pop4959 pop4959 added the type: enhancement Features and feature requests. label Jul 9, 2020
@mdcfe mdcfe added this to the 2.18.0 milestone Jul 9, 2020
@mdcfe mdcfe merged commit 6c64aae into EssentialsX:2.x Jul 9, 2020
JRoy pushed a commit to JRoy/Essentials-PR that referenced this pull request Aug 30, 2020
Fixes a problem where skeleton trapped horses cannot be killed in commands such as `/remove skeletonhorse` (or even `/remove all`) because they are tamed by non-player entities. There is a separate command for killing tamed entities, however this kills other player-owned entities which is undesirable.

This can be replicated easily by spawning some skeleton traps like so:
`/summon skeleton_horse ~ ~ ~ {SkeletonTrap:1}`
and then attempting to run `/killall skeletonhorse`.

After this small change, any tamed skeleton horses will be retained, but non-player-owned skeleton horses will be removed as appropriate.

Closes EssentialsX#3475.
ressidell pushed a commit to ressidell/Essentials that referenced this pull request Apr 27, 2025
Fixes a problem where skeleton trapped horses cannot be killed in commands such as `/remove skeletonhorse` (or even `/remove all`) because they are tamed by non-player entities. There is a separate command for killing tamed entities, however this kills other player-owned entities which is undesirable.

This can be replicated easily by spawning some skeleton traps like so:
`/summon skeleton_horse ~ ~ ~ {SkeletonTrap:1}`
and then attempting to run `/killall skeletonhorse`.

After this small change, any tamed skeleton horses will be retained, but non-player-owned skeleton horses will be removed as appropriate.

Closes EssentialsX#3475.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: enhancement Features and feature requests.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Skeleton horse

2 participants