MagmaGuy / EliteMobs

This is a spigot plugin that aims to extend Minecraft's survival endgame by making mobs more interesting.
http://www.magmaguy.com
GNU General Public License v3.0
170 stars 64 forks source link

Error!!!! #141

Closed Thexiaoyuqaq closed 4 months ago

Thexiaoyuqaq commented 9 months ago

1:

[23:51:12 ERROR]: Could not pass event EliteMobDamagedByPlayerAntiExploitEvent to EliteMobs v8.7.5
java.lang.NullPointerException: Cannot invoke "net.minecraft.world.level.pathfinder.PathEntity.j()" because the return value of "net.minecra
ft.world.entity.ai.navigation.NavigationAbstract.a(double, double, double, int)" is null
        at com.magmaguy.easyminecraftgoals.v1_18_R2.move.Move.canReach(Move.java:16) ~[EliteMobs.jar:?]
        at com.magmaguy.easyminecraftgoals.v1_18_R2.NMSAdapter.canReach(NMSAdapter.java:30) ~[EliteMobs.jar:?]
        at com.magmaguy.elitemobs.combatsystem.antiexploit.PreventPathfindingExploit.OnEliteDamagedbyPlayerEvent(PreventPathfindingExploit.j
ava:14) ~[EliteMobs.jar:?]
        at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor1188.execute(Unknown Source) ~[?:?]
        at org.bukkit.plugin.EventExecutor.lambda$create$1(EventExecutor.java:75) ~[paper-api-1.18.2-R0.1-SNAPSHOT.jar:?]
        at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:80) ~[paper-api-1.18.2-R0.1-SNAPSHOT.jar:git-Paper-388]
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[paper-api-1.18.2-R0.1-SNAPSHOT.jar:?]
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:669) ~[paper-api-1.18.2-R0.1-SNAPSHOT.jar:?]
        at com.magmaguy.elitemobs.api.EliteMobDamagedByPlayerEvent$EliteMobDamagedByPlayerEventFilter.runAntiexploit(EliteMobDamagedByPlayer
Event.java:270) ~[EliteMobs.jar:?]
        at com.magmaguy.elitemobs.api.EliteMobDamagedByPlayerEvent$EliteMobDamagedByPlayerEventFilter.onEliteMobAttacked(EliteMobDamagedByPl
ayerEvent.java:255) ~[EliteMobs.jar:?]
        at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor1027.execute(Unknown Source) ~[?:?]
        at org.bukkit.plugin.EventExecutor.lambda$create$1(EventExecutor.java:75) ~[paper-api-1.18.2-R0.1-SNAPSHOT.jar:?]
        at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:80) ~[paper-api-1.18.2-R0.1-SNAPSHOT.jar:git-Paper-388]
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[paper-api-1.18.2-R0.1-SNAPSHOT.jar:?]
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:669) ~[paper-api-1.18.2-R0.1-SNAPSHOT.jar:?]
        at org.bukkit.craftbukkit.v1_18_R2.event.CraftEventFactory.callEvent(CraftEventFactory.java:248) ~[paper-1.18.2.jar:git-Paper-388]
        at org.bukkit.craftbukkit.v1_18_R2.event.CraftEventFactory.callEntityDamageEvent(CraftEventFactory.java:1149) ~[paper-1.18.2.jar:git
-Paper-388]
        at org.bukkit.craftbukkit.v1_18_R2.event.CraftEventFactory.handleEntityDamageEvent(CraftEventFactory.java:1008) ~[paper-1.18.2.jar:g
it-Paper-388]
        at org.bukkit.craftbukkit.v1_18_R2.event.CraftEventFactory.handleEntityDamageEvent(CraftEventFactory.java:962) ~[paper-1.18.2.jar:gi
t-Paper-388]
        at org.bukkit.craftbukkit.v1_18_R2.event.CraftEventFactory.handleLivingEntityDamageEvent(CraftEventFactory.java:1183) ~[paper-1.18.2
.jar:git-Paper-388]
        at net.minecraft.world.entity.LivingEntity.damageEntity0(LivingEntity.java:2065) ~[?:?]
        at net.minecraft.world.entity.LivingEntity.hurt(LivingEntity.java:1346) ~[?:?]
        at net.minecraft.world.entity.animal.Wolf.hurt(Wolf.java:330) ~[?:?]
        at net.minecraft.world.entity.player.Player.attack(Player.java:1278) ~[?:?]
        at net.minecraft.server.level.ServerPlayer.attack(ServerPlayer.java:2040) ~[?:?]
        at net.minecraft.server.network.ServerGamePacketListenerImpl$5.a(ServerGamePacketListenerImpl.java:2541) ~[?:?]
        at net.minecraft.network.protocol.game.ServerboundInteractPacket$1.dispatch(ServerboundInteractPacket.java:24) ~[?:?]
        at net.minecraft.network.protocol.game.ServerboundInteractPacket.dispatch(ServerboundInteractPacket.java:80) ~[?:?]
        at net.minecraft.server.network.ServerGamePacketListenerImpl.handleInteract(ServerGamePacketListenerImpl.java:2468) ~[?:?]
        at net.minecraft.network.protocol.game.ServerboundInteractPacket.handle(ServerboundInteractPacket.java:67) ~[?:?]
        at net.minecraft.network.protocol.game.ServerboundInteractPacket.handle(ServerboundInteractPacket.java:12) ~[?:?]
        at net.minecraft.network.protocol.PacketUtils.lambda$ensureRunningOnSameThread$1(PacketUtils.java:51) ~[?:?]
        at net.minecraft.server.TickTask.run(TickTask.java:18) ~[paper-1.18.2.jar:git-Paper-388]
        at net.minecraft.util.thread.BlockableEventLoop.doRunTask(BlockableEventLoop.java:153) ~[?:?]
        at net.minecraft.util.thread.ReentrantBlockableEventLoop.doRunTask(ReentrantBlockableEventLoop.java:24) ~[?:?]
        at net.minecraft.server.MinecraftServer.doRunTask(MinecraftServer.java:1400) ~[paper-1.18.2.jar:git-Paper-388]
        at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:188) ~[paper-1.18.2.jar:git-Paper-388]
        at net.minecraft.util.thread.BlockableEventLoop.pollTask(BlockableEventLoop.java:126) ~[?:?]
        at net.minecraft.server.MinecraftServer.pollTaskInternal(MinecraftServer.java:1377) ~[paper-1.18.2.jar:git-Paper-388]
        at net.minecraft.server.MinecraftServer.pollTask(MinecraftServer.java:1370) ~[paper-1.18.2.jar:git-Paper-388]
        at net.minecraft.util.thread.BlockableEventLoop.managedBlock(BlockableEventLoop.java:136) ~[?:?]
        at net.minecraft.server.MinecraftServer.waitUntilNextTick(MinecraftServer.java:1348) ~[paper-1.18.2.jar:git-Paper-388]
        at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1230) ~[paper-1.18.2.jar:git-Paper-388]
        at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:316) ~[paper-1.18.2.jar:git-Paper-388]
        at java.lang.Thread.run(Thread.java:1589) ~[?:?]

2:

After the werewolf respawns, it will keep respawning continuously, and even if it is killed by a command, it will still respawn, creating a loop.

MagmaGuy commented 4 months ago

1.18 is not supported