Could not pass event Purpur vesion: 1.18.2
DejVIIKBob opened this issue · 9 comments
ERROR]: Could not pass event CreatureSpawnEvent to ExtraHardMode v3.14.2-3b567aa
java.lang.NoSuchFieldError: SWAMP_HILLS
at com.extrahardmode.features.monsters.CaveSpider.onEntitySpawn(CaveSpider.java:64) ~[ExtraHardMode.jar:?]
at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor434.execute(Unknown Source) ~[?:?]
at org.bukkit.plugin.EventExecutor.lambda$create$1(EventExecutor.java:75) ~[purpur-api-1.18.2-R0.1-SNAPSHOT.jar:?]
at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:76) ~[purpur-api-1.18.2-R0.1-SNAPSHOT.jar:git-Purpur-1584]
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[purpur-api-1.18.2-R0.1-SNAPSHOT.jar:?]
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:631) ~[purpur-api-1.18.2-R0.1-SNAPSHOT.jar:?]
at org.bukkit.craftbukkit.v1_18_R2.event.CraftEventFactory.callCreatureSpawnEvent(CraftEventFactory.java:748) ~[purpur-1.18.2.jar:git-Purpur-1584]
at org.bukkit.craftbukkit.v1_18_R2.event.CraftEventFactory.doEntityAddEventCalling(CraftEventFactory.java:653) ~[purpur-1.18.2.jar:git-Purpur-1584]
at net.minecraft.server.level.ServerLevel.addEntity(ServerLevel.java:1502) ~[?:?]
at net.minecraft.server.level.ServerLevel.addFreshEntity(ServerLevel.java:1414) ~[?:?]
at net.minecraft.world.level.block.entity.BeehiveBlockEntity.releaseBee(BeehiveBlockEntity.java:238) ~[?:?]
at net.minecraft.world.level.block.entity.BeehiveBlockEntity.releaseOccupant(BeehiveBlockEntity.java:200) ~[?:?]
at net.minecraft.world.level.block.entity.BeehiveBlockEntity.tickOccupants(BeehiveBlockEntity.java:331) ~[?:?]
at net.minecraft.world.level.block.entity.BeehiveBlockEntity.serverTick(BeehiveBlockEntity.java:350) ~[?:?]
at net.minecraft.world.level.chunk.LevelChunk$BoundTickingBlockEntity.tick(LevelChunk.java:1231) ~[?:?]
at net.minecraft.world.level.chunk.LevelChunk$RebindableTickingBlockEntityWrapper.tick(LevelChunk.java:1183) ~[?:?]
at net.minecraft.world.level.Level.tickBlockEntities(Level.java:1065) ~[?:?]
at net.minecraft.server.level.ServerLevel.tick(ServerLevel.java:716) ~[?:?]
at net.minecraft.server.MinecraftServer.tickChildren(MinecraftServer.java:1623) ~[purpur-1.18.2.jar:git-Purpur-1584]
at net.minecraft.server.dedicated.DedicatedServer.tickChildren(DedicatedServer.java:522) ~[purpur-1.18.2.jar:git-Purpur-1584]
at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1485) ~[purpur-1.18.2.jar:git-Purpur-1584]
at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1248) ~[purpur-1.18.2.jar:git-Purpur-1584]
at net.minecraft.server.MinecraftServer.lambda$spin$1(MinecraftServer.java:322) ~[purpur-1.18.2.jar:git-Purpur-1584]
at java.lang.Thread.run(Thread.java:833) ~[?:?]
[Server thread/ERROR]: Could not pass event CreatureSpawnEvent to ExtraHardMode v3.15.0-6ff295d
java.lang.NoSuchFieldError: SWAMP_HILLS
at com.extrahardmode.features.monsters.CaveSpider.onEntitySpawn(CaveSpider.java:64) ~[ExtraHardMode.jar:?]
at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor479.execute(Unknown Source) ~[?:?]
at org.bukkit.plugin.EventExecutor.lambda$create$1(EventExecutor.java:75) ~[purpur-api-1.18.2-R0.1-SNAPSHOT.jar:?]
at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:76) ~[purpur-api-1.18.2-R0.1-SNAPSHOT.jar:git-Purpur-1606]
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[purpur-api-1.18.2-R0.1-SNAPSHOT.jar:?]
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:631) ~[purpur-api-1.18.2-R0.1-SNAPSHOT.jar:?]
at org.bukkit.craftbukkit.v1_18_R2.event.CraftEventFactory.callCreatureSpawnEvent(CraftEventFactory.java:748) ~[purpur-1.18.2.jar:git-Purpur-1606]
at org.bukkit.craftbukkit.v1_18_R2.event.CraftEventFactory.doEntityAddEventCalling(CraftEventFactory.java:653) ~[purpur-1.18.2.jar:git-Purpur-1606]
at net.minecraft.server.level.ServerLevel.addEntity(ServerLevel.java:1505) ~[?:?]
at net.minecraft.server.level.ServerLevel.addFreshEntity(ServerLevel.java:1414) ~[?:?]
at org.bukkit.craftbukkit.v1_18_R2.CraftWorld.addEntityToWorld(CraftWorld.java:1063) ~[purpur-1.18.2.jar:git-Purpur-1606]
at org.bukkit.craftbukkit.v1_18_R2.CraftRegionAccessor.addEntity(CraftRegionAccessor.java:523) ~[purpur-1.18.2.jar:git-Purpur-1606]
at org.bukkit.craftbukkit.v1_18_R2.CraftRegionAccessor.spawn(CraftRegionAccessor.java:499) ~[purpur-1.18.2.jar:git-Purpur-1606]
at org.bukkit.craftbukkit.v1_18_R2.CraftRegionAccessor.spawn(CraftRegionAccessor.java:493) ~[purpur-1.18.2.jar:git-Purpur-1606]
at org.bukkit.craftbukkit.v1_18_R2.CraftRegionAccessor.spawn(CraftRegionAccessor.java:479) ~[purpur-1.18.2.jar:git-Purpur-1606]
at org.bukkit.craftbukkit.v1_18_R2.CraftRegionAccessor.spawnEntity(CraftRegionAccessor.java:387) ~[purpur-1.18.2.jar:git-Purpur-1606]
at com.extrahardmode.module.EntityHelper.spawn(EntityHelper.java:248) ~[ExtraHardMode.jar:?]
at com.extrahardmode.module.EntityHelper.spawnRandomMob(EntityHelper.java:296) ~[ExtraHardMode.jar:?]
at com.extrahardmode.features.monsters.MonsterRules.onEntitySpawn(MonsterRules.java:98) ~[ExtraHardMode.jar:?]
at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor453.execute(Unknown Source) ~[?:?]
at org.bukkit.plugin.EventExecutor.lambda$create$1(EventExecutor.java:75) ~[purpur-api-1.18.2-R0.1-SNAPSHOT.jar:?]
at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:76) ~[purpur-api-1.18.2-R0.1-SNAPSHOT.jar:git-Purpur-1606]
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[purpur-api-1.18.2-R0.1-SNAPSHOT.jar:?]
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:631) ~[purpur-api-1.18.2-R0.1-SNAPSHOT.jar:?]
at org.bukkit.craftbukkit.v1_18_R2.event.CraftEventFactory.callCreatureSpawnEvent(CraftEventFactory.java:748) ~[purpur-1.18.2.jar:git-Purpur-1606]
at org.bukkit.craftbukkit.v1_18_R2.event.CraftEventFactory.doEntityAddEventCalling(CraftEventFactory.java:653) ~[purpur-1.18.2.jar:git-Purpur-1606]
at net.minecraft.server.level.ServerLevel.addEntity(ServerLevel.java:1505) ~[?:?]
at net.minecraft.server.level.ServerLevel.addFreshEntity(ServerLevel.java:1414) ~[?:?]
at net.minecraft.world.level.ServerLevelAccessor.lambda$addFreshEntityWithPassengers$0(ServerLevelAccessor.java:16) ~[?:?]
at java.util.stream.Streams$StreamBuilderImpl.forEachRemaining(Streams.java:411) ~[?:?]
at java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:762) ~[?:?]
at net.minecraft.world.level.ServerLevelAccessor.addFreshEntityWithPassengers(ServerLevelAccessor.java:16) ~[?:?]
at net.minecraft.world.level.NaturalSpawner.spawnCategoryForPosition(NaturalSpawner.java:296) ~[?:?]
at net.minecraft.world.level.NaturalSpawner.spawnCategoryForChunk(NaturalSpawner.java:213) ~[?:?]
at net.minecraft.world.level.NaturalSpawner.spawnForChunk(NaturalSpawner.java:183) ~[?:?]
at net.minecraft.server.level.ServerChunkCache.tickChunks(ServerChunkCache.java:1034) ~[?:?]
at net.minecraft.server.level.ServerChunkCache.tick(ServerChunkCache.java:910) ~[?:?]
at net.minecraft.server.level.ServerLevel.tick(ServerLevel.java:649) ~[?:?]
at net.minecraft.server.MinecraftServer.tickChildren(MinecraftServer.java:1619) ~[purpur-1.18.2.jar:git-Purpur-1606]
at net.minecraft.server.dedicated.DedicatedServer.tickChildren(DedicatedServer.java:522) ~[purpur-1.18.2.jar:git-Purpur-1606]
at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1482) ~[purpur-1.18.2.jar:git-Purpur-1606]
at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1246) ~[purpur-1.18.2.jar:git-Purpur-1606]
at net.minecraft.server.MinecraftServer.lambda$spin$1(MinecraftServer.java:320) ~[purpur-1.18.2.jar:git-Purpur-1606]
at java.lang.Thread.run(Thread.java:833) ~[?:?]
That's strange, some PR must've re-added it somehow......... Nvm, that's github search using old commits or something.
He's not using the latest version, he's on the commit just before the PR that fixes this lol.
I thought I released a build with e4f17b1 so please redownload or something from bukkitdev or spigot.
Should already be fixed by #292
No, you aren't running the latest release. https://dev.bukkit.org/projects/fun-hard-mode/files/3732728
Oh ok on spigot, that's my bad, I messed up and linked the wrong file. Sorry about that. Should be fixed now, please redownload.