Skip to content

Jobs Reborn is trying to access depreciated MyPet API #1989

Description

@Newspoet

Description of Issue

I upgraded MyPet to 4.0.0 today and it is throwing the following spam in my console:

Version Information

Jobs: 5.2.5.5 MySQL
CMILib: 1.5.9.9
Server: 74 26.1.2.build.74-stable
Economy:EssentialsX Economy Vault: 2.20.2

Errors

[00:06:06 ERROR]: Could not pass event EntityDeathEvent to Jobs v5.2.6.6
java.lang.NoClassDefFoundError: de/Keyle/MyPet/api/entity/MyPetBukkitEntity
        at Jobs5.2.6.6.jar//com.gamingmesh.jobs.hooks.MyPet.MyPetManager.isMyPet(MyPetManager.java:20) ~[?:?]
        at Jobs5.2.6.6.jar//com.gamingmesh.jobs.listeners.JobsPaymentListener.onEntityDeath(JobsPaymentListener.java:1340) ~[?:?]
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:71) ~[paper-api-26.1.2.build.74-stable.jar:?]
        at io.papermc.paper.plugin.manager.PaperEventManager.callEvent(PaperEventManager.java:54) ~[paper-26.1.2.jar:26.1.2-74-e4e17fc]
        at io.papermc.paper.plugin.manager.PaperPluginManagerImpl.callEvent(PaperPluginManagerImpl.java:131) ~[paper-26.1.2.jar:26.1.2-74-e4e17fc]
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:627) ~[paper-api-26.1.2.build.74-stable.jar:?]
        at org.bukkit.craftbukkit.event.CraftEventFactory.callEntityDeathEvent(CraftEventFactory.java:975) ~[paper-26.1.2.jar:26.1.2-74-e4e17fc]
        at net.minecraft.world.entity.LivingEntity.dropAllDeathLoot(LivingEntity.java:1941) ~[paper-26.1.2.jar:26.1.2-74-e4e17fc]
        at net.minecraft.world.entity.LivingEntity.die(LivingEntity.java:1848) ~[paper-26.1.2.jar:26.1.2-74-e4e17fc]
        at net.minecraft.world.entity.LivingEntity.hurtServer(LivingEntity.java:1552) ~[paper-26.1.2.jar:26.1.2-74-e4e17fc]
        at net.minecraft.world.entity.monster.zombie.Zombie.hurtServer(Zombie.java:318) ~[paper-26.1.2.jar:26.1.2-74-e4e17fc]
        at net.minecraft.world.entity.Entity.hurtOrSimulate(Entity.java:2387) ~[paper-26.1.2.jar:26.1.2-74-e4e17fc]
        at MythicMobsPremium-5.13.1-6063.jar//io.lumine.mythic.core.volatilecode.v26_1.VolatileEntityHandlerImpl.doDamage(VolatileEntityHandlerImpl.java:224) ~[?:?]
        at MythicMobsPremium-5.13.1-6063.jar//io.lumine.mythic.bukkit.listeners.MobListeners.onMythicDamage(MobListeners.java:773) ~[?:?]
        at MythicMobsPremium-5.13.1-6063.jar//io.lumine.mythic.bukkit.utils.Delegates$ConsumerToBiConsumerSecond.accept(Delegates.java:144) ~[?:?]
        at MythicMobsPremium-5.13.1-6063.jar//io.lumine.mythic.bukkit.utils.events.functional.single.EventListener.execute(EventListener.java:131) ~[?:?]
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:71) ~[paper-api-26.1.2.build.74-stable.jar:?]
        at io.papermc.paper.plugin.manager.PaperEventManager.callEvent(PaperEventManager.java:54) ~[paper-26.1.2.jar:26.1.2-74-e4e17fc]
        at io.papermc.paper.plugin.manager.PaperPluginManagerImpl.callEvent(PaperPluginManagerImpl.java:131) ~[paper-26.1.2.jar:26.1.2-74-e4e17fc]
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:627) ~[paper-api-26.1.2.build.74-stable.jar:?]
        at MythicMobsPremium-5.13.1-6063.jar//io.lumine.mythic.bukkit.utils.Events.callAndReturn(Events.java:165) ~[?:?]
        at MythicMobsPremium-5.13.1-6063.jar//io.lumine.mythic.bukkit.adapters.BukkitSkillAdapter.doDamage(BukkitSkillAdapter.java:65) ~[?:?]
        at MythicMobsPremium-5.13.1-6063.jar//io.lumine.mythic.core.skills.damage.DamagingMechanic.doDamage(DamagingMechanic.java:258) ~[?:?]
        at MythicMobsPremium-5.13.1-6063.jar//io.lumine.mythic.core.skills.damage.DamagingMechanic.doDamage(DamagingMechanic.java:190) ~[?:?]
        at MythicMobsPremium-5.13.1-6063.jar//io.lumine.mythic.core.skills.mechanics.DamageMechanic.castAtEntity(DamageMechanic.java:59) ~[?:?]
        at MythicMobsPremium-5.13.1-6063.jar//io.lumine.mythic.core.skills.SkillMechanic.lambda$executeTargetedEntitySkill$18(SkillMechanic.java:840) ~[?:?]
        at java.base/java.util.ArrayList.forEach(Unknown Source) ~[?:?]
        at MythicMobsPremium-5.13.1-6063.jar//io.lumine.mythic.core.skills.SkillMechanic.executeTargetedEntitySkill(SkillMechanic.java:836) ~[?:?]
        at MythicMobsPremium-5.13.1-6063.jar//io.lumine.mythic.core.skills.SkillMechanic.lambda$executeSkills$14(SkillMechanic.java:763) ~[?:?]
        at MythicMobsPremium-5.13.1-6063.jar//io.lumine.mythic.core.skills.SkillMechanic.runMechanic(SkillMechanic.java:824) ~[?:?]
        at MythicMobsPremium-5.13.1-6063.jar//io.lumine.mythic.core.skills.SkillMechanic.executeSkills(SkillMechanic.java:763) ~[?:?]
        at MythicMobsPremium-5.13.1-6063.jar//io.lumine.mythic.core.skills.SkillMechanic.execute(SkillMechanic.java:662) ~[?:?]
        at MythicMobsPremium-5.13.1-6063.jar//io.lumine.mythic.core.skills.MetaSkill.execute(MetaSkill.java:599) ~[?:?]
        at MythicMobsPremium-5.13.1-6063.jar//io.lumine.mythic.core.skills.AbstractSkill$DelayedSkill.run(AbstractSkill.java:411) ~[?:?]
        at MythicMobsPremium-5.13.1-6063.jar//io.lumine.mythic.bukkit.utils.Delegates$RunnableToSupplier.get(Delegates.java:121) ~[?:?]
        at MythicMobsPremium-5.13.1-6063.jar//io.lumine.mythic.bukkit.utils.promise.LuminePromise$SupplyRunnable.run(LuminePromise.java:721) ~[?:?]
        at MythicMobsPremium-5.13.1-6063.jar//io.lumine.mythic.bukkit.utils.tasks.LumineExecutors$SchedulerWrappedRunnable.run(LumineExecutors.java:70) ~[?:?]
        at org.bukkit.craftbukkit.scheduler.CraftTask.run(CraftTask.java:78) ~[paper-26.1.2.jar:26.1.2-74-e4e17fc]
        at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:474) ~[paper-26.1.2.jar:26.1.2-74-e4e17fc]
        at net.minecraft.server.MinecraftServer.tickChildren(MinecraftServer.java:1793) ~[paper-26.1.2.jar:26.1.2-74-e4e17fc]
        at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1646) ~[paper-26.1.2.jar:26.1.2-74-e4e17fc]
        at net.minecraft.server.dedicated.DedicatedServer.tickServer(DedicatedServer.java:444) ~[paper-26.1.2.jar:26.1.2-74-e4e17fc]
        at net.minecraft.server.MinecraftServer.processPacketsAndTick(MinecraftServer.java:1704) ~[paper-26.1.2.jar:26.1.2-74-e4e17fc]
        at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1374) ~[paper-26.1.2.jar:26.1.2-74-e4e17fc]
        at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:304) ~[paper-26.1.2.jar:26.1.2-74-e4e17fc]
        at java.base/java.lang.Thread.run(Unknown Source) ~[?:?]
Caused by: java.lang.ClassNotFoundException: de.Keyle.MyPet.api.entity.MyPetBukkitEntity
        ... 46 more

Relevant Config Sections

Relevant Plugins

Vault 2.20.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions