EngineHub / EngineHub/WorldGuard

Leads can be used on leashed mobs to un-leash them

Open
#2,240 1 comment 0 reactions 0 assignees View on GitHub
status:pending type:bug
Dominant language
Java
Stars
938
Forks
671
PR merge metrics
No merged PRs in 30d

Description

### WorldEdit Version

Bukkit-Official(7.3.16+cbf4bd5)

### WorldGuard Version

Bukkit-Official (7.0.14+2339-43997ec)

### Platform Version

Paper 1.21.8 Build #60

### Confirmations

- [x] I am using the most recent Minecraft release.
- [x] I am using a version of WorldEdit compatible with my Minecraft version.
- [x] I am using a version of WorldGuard compatible with my Minecraft version.
- [x] I am using the latest or recommended version of my platform software.
- [x] I am NOT using a hybrid server, e.g. a server that combines Bukkit and Forge. Examples include Arclight, Mohist, and Cardboard.
- [x] I am NOT using a fork of WorldEdit, such as FastAsyncWorldEdit (FAWE) or AsyncWorldEdit (AWE)

### Bug Description

The title says it all really. If an animal (such as a horse) is leashed to a fence post (all in a WG region), a player can un-leash the animal by right-clicking it while holding a lead.

### Expected Behavior

The player should not be able to un-leash the animal.

### Reproduction Steps

1. Create a WG region.
2. Spawn a leashable animal and leash it to a fence post (all inside the WG region).
3. Have a player hold a lead and right-click the leashed animal.
4. Observe as the animal becomes un-leashed, and the lead item is dropped to the ground beside the animal.

### Optional WorldGuard-Report

_No response_

### Anything Else?

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.