diff --git a/Spigot-API-Patches/0269-Add-dropLeash-variable-to-EntityUnleashEvent.patch b/Spigot-API-Patches/0269-Add-dropLeash-variable-to-EntityUnleashEvent.patch index 492a8d521..1a8193069 100644 --- a/Spigot-API-Patches/0269-Add-dropLeash-variable-to-EntityUnleashEvent.patch +++ b/Spigot-API-Patches/0269-Add-dropLeash-variable-to-EntityUnleashEvent.patch @@ -5,7 +5,7 @@ Subject: [PATCH] Add dropLeash variable to EntityUnleashEvent diff --git a/src/main/java/org/bukkit/event/entity/EntityUnleashEvent.java b/src/main/java/org/bukkit/event/entity/EntityUnleashEvent.java -index a33986a0c437a673435206fc337031a7eebdab3b..bcf773ec65d9fc27bb8e433c2f676ab0d60c35ee 100644 +index a33986a0c437a673435206fc337031a7eebdab3b..e0e068799a1868c8e561869015f41f553ef4fbdb 100644 --- a/src/main/java/org/bukkit/event/entity/EntityUnleashEvent.java +++ b/src/main/java/org/bukkit/event/entity/EntityUnleashEvent.java @@ -10,10 +10,19 @@ import org.jetbrains.annotations.NotNull; @@ -45,7 +45,7 @@ index a33986a0c437a673435206fc337031a7eebdab3b..bcf773ec65d9fc27bb8e433c2f676ab0 + /** + * Sets whether a leash item should be dropped. + * -+ * @return Whether the leash item should be dropped ++ * @param dropLeash Whether the leash item should be dropped + */ + public void setDropLeash(boolean dropLeash) { + this.dropLeash = dropLeash;