summaryrefslogtreecommitdiffstats
path: root/nms-patches/ItemLeash.patch
diff options
context:
space:
mode:
Diffstat (limited to 'nms-patches/ItemLeash.patch')
-rw-r--r--nms-patches/ItemLeash.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/nms-patches/ItemLeash.patch b/nms-patches/ItemLeash.patch
index c9713f22..d51c6786 100644
--- a/nms-patches/ItemLeash.patch
+++ b/nms-patches/ItemLeash.patch
@@ -9,8 +9,8 @@
public class ItemLeash extends Item {
public ItemLeash() {
-@@ -40,7 +42,23 @@
- if (entityinsentient.cc() && entityinsentient.getLeashHolder() == entityhuman) {
+@@ -39,7 +41,23 @@
+ if (entityinsentient.isLeashed() && entityinsentient.getLeashHolder() == entityhuman) {
if (entityleash == null) {
entityleash = EntityLeash.a(world, blockposition);
+