Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix issue with /remove skeletonhorse (#3477)
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.
- Loading branch information