MobHunting

MobHunting

114k Downloads

Need WorldEdit/WorldGuard vector update

SlimeDog opened this issue ยท 2 comments

commented

Spigot 1.13.2 latest
MobHunting 6.0.8-b721
worldguard-legacy 7.0.0-b1754
worldedit-bukkit 7.0.0-b3933

WorldEdit introduced Vectors. It looks like lots of plugins are going to be impacted. I'm guessing MobHunting needs to be integrated with the new API.

[17:42:09 ERROR]: Could not pass event EntityDeathEvent to MobHunting v6.0.8
org.bukkit.event.EventException: null
        at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:308) ~[spigot-1.13.2.jar-2018-11-03-0808:git-Spigot-2474d93-f0398e4]
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[spigot-1.13.2.jar-2018-11-03-0808:git-Spigot-2474d93-f0398e4]
        at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:500) ~[spigot-1.13.2.jar-2018-11-03-0808:git-Spigot-2474d93-f0398e4]
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:485) ~[spigot-1.13.2.jar-2018-11-03-0808:git-Spigot-2474d93-f0398e4]
        at org.bukkit.craftbukkit.v1_13_R2.event.CraftEventFactory.callEntityDeathEvent(CraftEventFactory.java:474) ~[spigot-1.13.2.jar-2018-11-03-0808:git-Spigot-2474d93-f0398e4]
        at net.minecraft.server.v1_13_R2.EntityLiving.die(EntityLiving.java:1205) ~[spigot-1.13.2.jar-2018-11-03-0808:git-Spigot-2474d93-f0398e4]
        at net.minecraft.server.v1_13_R2.EntityLiving.damageEntity(EntityLiving.java:1055) ~[spigot-1.13.2.jar-2018-11-03-0808:git-Spigot-2474d93-f0398e4]
        at net.minecraft.server.v1_13_R2.EntityHuman.attack(EntityHuman.java:1050) ~[spigot-1.13.2.jar-2018-11-03-0808:git-Spigot-2474d93-f0398e4]
        at net.minecraft.server.v1_13_R2.EntityPlayer.attack(EntityPlayer.java:1334) ~[spigot-1.13.2.jar-2018-11-03-0808:git-Spigot-2474d93-f0398e4]
        at net.minecraft.server.v1_13_R2.PlayerConnection.a(PlayerConnection.java:1876) ~[spigot-1.13.2.jar-2018-11-03-0808:git-Spigot-2474d93-f0398e4]
        at net.minecraft.server.v1_13_R2.PacketPlayInUseEntity.a(SourceFile:69) ~[spigot-1.13.2.jar-2018-11-03-0808:git-Spigot-2474d93-f0398e4]
        at net.minecraft.server.v1_13_R2.PacketPlayInUseEntity.a(SourceFile:13) ~[spigot-1.13.2.jar-2018-11-03-0808:git-Spigot-2474d93-f0398e4]
        at net.minecraft.server.v1_13_R2.PlayerConnectionUtils.a(SourceFile:10) ~[spigot-1.13.2.jar-2018-11-03-0808:git-Spigot-2474d93-f0398e4]
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_181]
        at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_181]
        at net.minecraft.server.v1_13_R2.SystemUtils.a(SourceFile:199) [spigot-1.13.2.jar-2018-11-03-0808:git-Spigot-2474d93-f0398e4]
        at net.minecraft.server.v1_13_R2.MinecraftServer.b(MinecraftServer.java:900) [spigot-1.13.2.jar-2018-11-03-0808:git-Spigot-2474d93-f0398e4]
        at net.minecraft.server.v1_13_R2.DedicatedServer.b(DedicatedServer.java:417) [spigot-1.13.2.jar-2018-11-03-0808:git-Spigot-2474d93-f0398e4]
        at net.minecraft.server.v1_13_R2.MinecraftServer.a(MinecraftServer.java:835) [spigot-1.13.2.jar-2018-11-03-0808:git-Spigot-2474d93-f0398e4]
        at net.minecraft.server.v1_13_R2.MinecraftServer.run(MinecraftServer.java:733) [spigot-1.13.2.jar-2018-11-03-0808:git-Spigot-2474d93-f0398e4]
        at java.lang.Thread.run(Thread.java:748) [?:1.8.0_181]
Caused by: java.lang.NoSuchMethodError: com.sk89q.worldedit.util.Location.toVector()Lcom/sk89q/worldedit/Vector;
        at one.lindegaard.MobHunting.compatibility.WorldGuardHelper.isAllowedByWorldGuard(WorldGuardHelper.java:96) ~[?:?]
        at one.lindegaard.MobHunting.MobHuntingManager.onMobDeath(MobHuntingManager.java:807) ~[?:?]
        at sun.reflect.GeneratedMethodAccessor289.invoke(Unknown Source) ~[?:?]
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_181]
        at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_181]
        at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:304) ~[spigot-1.13.2.jar-2018-11-03-0808:git-Spigot-2474d93-f0398e4]
        ... 20 more

commented

updated in v6.5.0

commented

Confirmed fixed in MH 6.5.0.