Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IllegalArgumentException on EntityDeathEvent (v5.6.2) #229

Open
bermudalocket opened this issue Aug 12, 2021 · 2 comments
Open

IllegalArgumentException on EntityDeathEvent (v5.6.2) #229

bermudalocket opened this issue Aug 12, 2021 · 2 comments

Comments

@bermudalocket
Copy link

StackMobs v5.6.2
Purpur 1.17.1 build 1328 (Paper build 126)

Getting this exception while killing stacked zombies spawned at a grinder:

[22:10:14 ERROR]: Could not pass event EntityDeathEvent to StackMob v5.6.2
java.lang.IllegalArgumentException: Missing required parameters: [<parameter minecraft:explosion_radius>, <parameter minecraft:block_state>, <parameter minecraft:block_entity>, <parameter minecraft:tool>, <parameter minecraft:direct_killer_entity>]
        at net.minecraft.world.level.storage.loot.LootContext$Builder.create(LootContext.java:208) ~[app:?]
        at org.bukkit.craftbukkit.v1_17_R1.CraftLootTable.convertContext(CraftLootTable.java:114) ~[patched_1.17.1.jar:git-Purpur-1328]
        at org.bukkit.craftbukkit.v1_17_R1.CraftLootTable.populateLoot(CraftLootTable.java:43) ~[patched_1.17.1.jar:git-Purpur-1328]
        at uk.antiperson.stackmob.entity.Drops.calculateDrops(Drops.java:50) ~[StackMob-5.6.2.jar:?]
        at uk.antiperson.stackmob.listeners.DeathListener.onStackDeath(DeathListener.java:67) ~[StackMob-5.6.2.jar:?]
        at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor529.execute(Unknown Source) ~[?:?]
        at org.bukkit.plugin.EventExecutor.lambda$create$1(EventExecutor.java:69) ~[patched_1.17.1.jar:git-Purpur-1328]
        at org.bukkit.plugin.EventExecutor$$Lambda$5171/0x0000000041426850.execute(Unknown Source) ~[app:?]
        at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:80) ~[patched_1.17.1.jar:git-Purpur-1328]
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[patched_1.17.1.jar:git-Purpur-1328]
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:624) ~[patched_1.17.1.jar:git-Purpur-1328]
        at org.bukkit.craftbukkit.v1_17_R1.event.CraftEventFactory.callEntityDeathEvent(CraftEventFactory.java:867) ~[patched_1.17.1.j
ar:git-Purpur-1328]
        at net.minecraft.world.entity.LivingEntity.dropAllDeathLoot(LivingEntity.java:1753) ~[app:?]
        at net.minecraft.world.entity.LivingEntity.die(LivingEntity.java:1666) ~[app:?]
        at net.minecraft.world.entity.LivingEntity.hurt(LivingEntity.java:1480) ~[app:?]
        at net.minecraft.world.entity.Mob.hurt(Mob.java:357) ~[app:?]
        at net.minecraft.world.entity.monster.Zombie.hurt(Zombie.java:337) ~[app:?]
        at net.minecraft.world.entity.player.Player.attack(Player.java:1303) ~[app:?]
        at net.minecraft.server.level.ServerPlayer.attack(ServerPlayer.java:2128) ~[app:?]
        at net.minecraft.server.network.ServerGamePacketListenerImpl$5.onAttack(ServerGamePacketListenerImpl.java:2541) ~[app:?]
        at net.minecraft.network.protocol.game.ServerboundInteractPacket$1.dispatch(ServerboundInteractPacket.java:24) ~[app:?]
        at net.minecraft.network.protocol.game.ServerboundInteractPacket.dispatch(ServerboundInteractPacket.java:80) ~[app:?]
        at net.minecraft.server.network.ServerGamePacketListenerImpl.handleInteract(ServerGamePacketListenerImpl.java:2466) ~[app:?]
        at net.minecraft.network.protocol.game.ServerboundInteractPacket.handle(ServerboundInteractPacket.java:67) ~[app:?]
        at net.minecraft.network.protocol.game.ServerboundInteractPacket.handle(ServerboundInteractPacket.java:12) ~[app:?]
        at net.minecraft.network.protocol.PacketUtils.lambda$ensureRunningOnSameThread$1(PacketUtils.java:56) ~[app:?]
        at net.minecraft.network.protocol.PlayerConnectionUtils$$Lambda$9331/0x00000000100de828.run(Unknown Source) ~[app:?]
        at net.minecraft.server.TickTask.run(TickTask.java:18) ~[patched_1.17.1.jar:git-Purpur-1328]
        at net.minecraft.util.thread.BlockableEventLoop.doRunTask(BlockableEventLoop.java:149) ~[app:?]
        at net.minecraft.util.thread.ReentrantBlockableEventLoop.doRunTask(ReentrantBlockableEventLoop.java:23) ~[app:?]
        at net.minecraft.server.MinecraftServer.doRunTask(MinecraftServer.java:1422) ~[patched_1.17.1.jar:git-Purpur-1328]
        at net.minecraft.server.MinecraftServer.shouldRun(MinecraftServer.java:190) ~[patched_1.17.1.jar:git-Purpur-1328]
        at net.minecraft.util.thread.BlockableEventLoop.pollTask(BlockableEventLoop.java:122) ~[app:?]
        at net.minecraft.server.MinecraftServer.pollTaskInternal(MinecraftServer.java:1400) ~[patched_1.17.1.jar:git-Purpur-1328]
        at net.minecraft.server.MinecraftServer.pollTask(MinecraftServer.java:1393) ~[patched_1.17.1.jar:git-Purpur-1328]
        at net.minecraft.util.thread.BlockableEventLoop.runAllTasks(BlockableEventLoop.java:110) ~[app:?]
        at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1532) ~[patched_1.17.1.jar:git-Purpur-1328]
        at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1270) ~[patched_1.17.1.jar:git-Purpur-1328]
        at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:319) ~[patched_1.17.1.jar:git-Purpur-1328]
        at net.minecraft.server.MinecraftServer$$Lambda$3743/0x00000000d8456120.run(Unknown Source) ~[app:?]
        at java.lang.Thread.run(Thread.java:853) [?:?]
@bermudalocket
Copy link
Author

bermudalocket commented Aug 12, 2021

@ploppyperson
Copy link
Owner

Looks like a spigot bug

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants