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

When i kill a Stack, nothin happens #273

Open
chouuul opened this issue Mar 28, 2023 · 0 comments
Open

When i kill a Stack, nothin happens #273

chouuul opened this issue Mar 28, 2023 · 0 comments

Comments

@chouuul
Copy link

chouuul commented Mar 28, 2023

Hello everyone,

I wanted to share a problem that I have been facing with the StackMob plugin version 5.8.6 on Mohist 1.16.5. The plugin allows us to stack mobs in order to reduce lag on our servers. However, I have noticed that whenever I kill a stacked mob, nothing respawns and I lose everything that was stacked.

This issue is accompanied by the following error message:

Could not pass event EntityDeathEvent to StackMob v5.8.6
org.bukkit.event.EventException: null
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:303) ~[forge:?]
at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:76) ~[forge:?]
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[forge:?]
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:593) ~[forge:?]
at org.bukkit.craftbukkit.v1_16_R3.event.CraftEventFactory.callEntityDeathEvent(CraftEventFactory.java:784) ~[forge:?]
at net.minecraft.entity.LivingEntity.func_213345_d(LivingEntity.java:1534) ~[?:?]
at net.minecraft.entity.LivingEntity.func_70645_a(LivingEntity.java:1476) ~[?:?]
at net.minecraft.entity.LivingEntity.func_70097_a(LivingEntity.java:1322) ~[?:?]
at net.minecraft.entity.passive.AnimalEntity.func_70097_a(AnimalEntity.java:76) ~[?:?]
at net.minecraft.entity.player.PlayerEntity.func_71059_n(PlayerEntity.java:1219) ~[?:?]
at net.minecraft.entity.player.ServerPlayerEntity.func_71059_n(ServerPlayerEntity.java:1657) ~[?:?]
at net.minecraft.network.play.ServerPlayNetHandler.func_147340_a(ServerPlayNetHandler.java:2026) ~[?:?]
at net.minecraft.network.play.client.CUseEntityPacket.func_148833_a(SourceFile:74) ~[?:?]
at net.minecraft.network.play.client.CUseEntityPacket.func_148833_a(SourceFile:13) ~[?:?]
at net.minecraft.network.PacketThreadUtil.lambda$ensureRunningOnSameThread$0(PacketThreadUtil.java:26) ~[?:?]
at net.minecraft.util.concurrent.TickDelayedTask.run(SourceFile:18) ~[?:?]
at net.minecraft.util.concurrent.ThreadTaskExecutor.func_213166_h(ThreadTaskExecutor.java:153) ~[?:?]
at net.minecraft.util.concurrent.RecursiveEventLoop.func_213166_h(SourceFile:23) ~[?:?]
at net.minecraft.server.MinecraftServer.func_213166_h(MinecraftServer.java:938) ~[?:?]
at net.minecraft.server.MinecraftServer.func_213166_h(MinecraftServer.java:175) ~[?:?]
at net.minecraft.util.concurrent.ThreadTaskExecutor.func_213168_p(ThreadTaskExecutor.java:126) ~[?:?]
at net.minecraft.server.MinecraftServer.func_213205_aW(MinecraftServer.java:921) ~[?:?]
at net.minecraft.server.MinecraftServer.func_213168_p(MinecraftServer.java:915) ~[?:?]
at net.minecraft.util.concurrent.ThreadTaskExecutor.func_213161_c(ThreadTaskExecutor.java:136) ~[?:?]
at net.minecraft.server.MinecraftServer.func_213202_o(MinecraftServer.java:901) ~[?:?]
at net.minecraft.server.MinecraftServer.func_240802_v_(MinecraftServer.java:821) ~[?:?]
at net.minecraft.server.MinecraftServer.func_240783_a_(MinecraftServer.java:268) ~[?:?]
at java.lang.Thread.run(Thread.java:831) ~[?:?]
Caused by: java.lang.NoSuchMethodError: 'org.bukkit.event.entity.CreatureSpawnEvent$SpawnReason org.bukkit.entity.LivingEntity.getEntitySpawnReason()'
at uk.antiperson.stackmob.config.EntityConfig.getDeathType(EntityConfig.java:270) ~[?:?]
at uk.antiperson.stackmob.listeners.DeathListener.calculateDeath(DeathListener.java:85) ~[?:?]
at uk.antiperson.stackmob.listeners.DeathListener.onStackDeath(DeathListener.java:37) ~[?:?]
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:78) ~[?:?]
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
at java.lang.reflect.Method.invoke(Method.java:567) ~[?:?]
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:301) ~[forge:?]
... 27 more

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

1 participant