Spigot Leasher for Bukkit 1.1

Leads are now unbreakable!

  1. Code (Java):
    [14:03:05 ERROR]: Could not pass event EntityUnleashEvent to Leasher v1.1
    [14:03:05 ERROR]: Suspected Plugins:
    [14:03:05 ERROR]:       Leasher{enabled,ver=1.1,path=plugins\Leasher.jar}
    [14:03:05 ERROR]: Exception details below:
    java.lang.IllegalStateException: Entity not leashed
            at org.bukkit.craftbukkit.v1_16_R3.entity.CraftLivingEntity.getLeashHolder(CraftLivingEntity.java:611) ~[patched_1.16.5.jar:git-Yatopia-dev/c2me-port-"4a2c1f4"]
            at hazae41.leasher.Plugin.onUnleash(Plugin.java:31) ~[?:?]
            at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor1201.execute(Unknown Source) ~[?:?]
            at org.bukkit.plugin.EventExecutor.lambda$create$1(EventExecutor.java:69) ~[patched_1.16.5.jar:git-Yatopia-dev/c2me-port-"4a2c1f4"]
            at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:80) ~[patched_1.16.5.jar:git-Yatopia-dev/c2me-port-"4a2c1f4"]
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[patched_1.16.5.jar:git-Yatopia-dev/c2me-port-"4a2c1f4"]
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:611) ~[patched_1.16.5.jar:git-Yatopia-dev/c2me-port-"4a2c1f4"]
            at net.minecraft.server.v1_16_R3.EntityCreature.eA(EntityCreature.java:65) ~[patched_1.16.5.jar:git-Yatopia-dev/c2me-port-"4a2c1f4"]
            at net.minecraft.server.v1_16_R3.EntityInsentient.tick(EntityInsentient.java:408) ~[patched_1.16.5.jar:git-Yatopia-dev/c2me-port-"4a2c1f4"]
            at net.minecraft.server.v1_16_R3.WorldServer.entityJoinedWorld(WorldServer.java:1547) ~[patched_1.16.5.jar:git-Yatopia-dev/c2me-port-"4a2c1f4"]
            at net.minecraft.server.v1_16_R3.World.a(World.java:1195) ~[patched_1.16.5.jar:git-Yatopia-dev/c2me-port-"4a2c1f4"]
            at net.minecraft.server.v1_16_R3.WorldServer.doTick(WorldServer.java:1171) ~[patched_1.16.5.jar:git-Yatopia-dev/c2me-port-"4a2c1f4"]
            at net.minecraft.server.v1_16_R3.MinecraftServer.b(MinecraftServer.java:1578) ~[patched_1.16.5.jar:git-Yatopia-dev/c2me-port-"4a2c1f4"]
            at net.minecraft.server.v1_16_R3.DedicatedServer.b(DedicatedServer.java:443) ~[patched_1.16.5.jar:git-Yatopia-dev/c2me-port-"4a2c1f4"]
            at net.minecraft.server.v1_16_R3.MinecraftServer.a(MinecraftServer.java:1423) ~[patched_1.16.5.jar:git-Yatopia-dev/c2me-port-"4a2c1f4"]
            at net.minecraft.server.v1_16_R3.MinecraftServer.w(MinecraftServer.java:1144) ~[patched_1.16.5.jar:git-Yatopia-dev/c2me-port-"4a2c1f4"]
            at net.minecraft.server.v1_16_R3.MinecraftServer.lambda$a$0(MinecraftServer.java:291) ~[patched_1.16.5.jar:git-Yatopia-dev/c2me-port-"4a2c1f4"]
            at java.lang.Thread.run(Thread.java:834) [?:?]