brainsynder-Dev / SimplePets

A simple to use companion/pets plugin for a Spigot Minecraft server
https://www.spigotmc.org/resources/100106/
GNU General Public License v3.0
61 stars 39 forks source link

[Bug]: ??? #255

Closed wesley376 closed 10 months ago

wesley376 commented 10 months ago

Debug Log

https://workupload.com/file/Yht3D26hMsh

What happened?

I get a error code in the console when trying to spawn a pet. No animal will spawn.

Steps To Reproduce

Updating Downgrading

Relevant log/error output

java.lang.NoSuchMethodError'org.bukkit.craftbukkit.v1_20_R3.entity.CraftEntity simplepets.brainsynder.versions.v1_20_2.entity.EntityPet.getBukkitEntity()'
at simplepets.brainsynder.api.entity.IEntityPet.getEntities(IEntityPet.java:54) ~[SimplePets (5.0-build-231).jar:?]
at simplepets.brainsynder.versions.v1_20_2.entity.EntityPet.getEntity(EntityPet.java:309) ~[SimplePets (5.0-build-231).jar:?]
at simplepets.brainsynder.versions.v1_20_2.SpawnerUtil.spawnEntityPet(SpawnerUtil.java:121) ~[SimplePets (5.0-build-231).jar:?]
at simplepets.brainsynder.impl.PetOwner.setPet(PetOwner.java:477) ~[SimplePets (5.0-build-231).jar:?]
at simplepets.brainsynder.utils.Utilities.handlePetSpawning(Utilities.java:98) ~[SimplePets (5.0-build-231).jar:?]
at simplepets.brainsynder.versions.v1_20_2.SpawnerUtil.spawnEntityPet(SpawnerUtil.java:70) ~[SimplePets (5.0-build-231).jar:?]
at org.bukkit.craftbukkit.v1_20_R2.scheduler.CraftTask.run(CraftTask.java:101) ~[paper-1.20.2.jar:git-Paper-318]
at simplepets.brainsynder.listeners.SelectionGUIListener$1.run(SelectionGUIListener.java:76) ~[SimplePets (5.0-build-231).jar:?]
at net.minecraft.server.MinecraftServer.tickChildren(MinecraftServer.java:1470) ~[paper-1.20.2.jar:git-Paper-318]
at org.bukkit.craftbukkit.v1_20_R2.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:480) ~[paper-1.20.2.jar:git-Paper-318]
at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1379) ~[paper-1.20.2.jar:git-Paper-318]
at net.minecraft.server.dedicated.DedicatedServer.tickChildren(DedicatedServer.java:446) ~[paper-1.20.2.jar:git-Paper-318]
at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:315) ~[paper-1.20.2.jar:git-Paper-318]
at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1156) ~[paper-1.20.2.jar:git-Paper-318]
[ERROR] Entity threw exception at world_hub:39.24974783243774,42.0,-44.09957714764252
at java.lang.Thread.run(Thread.java:833) ~[?:?]
at simplepets.brainsynder.versions.v1_20_2.pathfinder.PathfinderWalkToPlayer.a(PathfinderWalkToPlayer.java:81) ~[SimplePets (5.0-build-231).jar:?]
java.lang.NoSuchMethodError'org.bukkit.craftbukkit.v1_20_R3.entity.CraftEntity simplepets.brainsynder.versions.v1_20_2.entity.EntityPet.getBukkitEntity()'
at net.minecraft.world.entity.ai.goal.GoalSelector.tick(GoalSelector.java:128) ~[?:?]
at net.minecraft.world.entity.ai.goal.WrappedGoal.canUse(WrappedGoal.java:22) ~[?:?]
at net.minecraft.world.entity.Mob.serverAiStep(Mob.java:924) ~[?:?]
at net.minecraft.world.entity.LivingEntity.aiStep(LivingEntity.java:3392) ~[?:?]
at net.minecraft.world.entity.Mob.aiStep(Mob.java:674) ~[?:?]
at net.minecraft.world.entity.LivingEntity.tick(LivingEntity.java:3046) ~[?:?]
at net.minecraft.world.entity.Mob.tick(Mob.java:436) ~[?:?]
at simplepets.brainsynder.versions.v1_20_2.entity.EntityPet.l(EntityPet.java:450) ~[SimplePets (5.0-build-231).jar:?]
at net.minecraft.server.level.ServerLevel.tickNonPassenger(ServerLevel.java:1386) ~[?:?]
at net.minecraft.world.level.Level.guardEntityTick(Level.java:1309) ~[?:?]
at net.minecraft.server.level.ServerLevel.lambda$tick$8(ServerLevel.java:900) ~[?:?]
at net.minecraft.world.level.entity.EntityTickList.forEach(EntityTickList.java:42) ~[paper-1.20.2.jar:git-Paper-318]
at net.minecraft.server.level.ServerLevel.tick(ServerLevel.java:880) ~[?:?]
at net.minecraft.server.MinecraftServer.tickChildren(MinecraftServer.java:1548) ~[paper-1.20.2.jar:git-Paper-318]
at net.minecraft.server.dedicated.DedicatedServer.tickChildren(DedicatedServer.java:446) ~[paper-1.20.2.jar:git-Paper-318]
at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1379) ~[paper-1.20.2.jar:git-Paper-318]
at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1156) ~[paper-1.20.2.jar:git-Paper-318]
at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:315) ~[paper-1.20.2.jar:git-Paper-318]
at java.lang.Thread.run(Thread.java:833) ~[?:?]

Up-To-Date

github-actions[bot] commented 10 months ago

@wesley376,

Thank you for reporting this bug, we will try and respond as soon as we can to your issue. In the meantime have a look at the WIKI to see if we made any mention to it on there.

github-actions[bot] commented 10 months ago

:wave: @wesley376,

This issue has been fixed in the latest build or in a future build that will be released soon!