[Server thread/WARN]: [BentoBox] Task #460 for BentoBox v1.21.0-SNAPSHOT-b2283 generated an exception java.lang.RuntimeException: java.lang.reflect.InvocationTargetException at lv.id.bonne.dragonfights.v1_19_R1.NMSEntityRegistry.lambda$applyRegister$0(NMSEntityRegistry.java:136) ~[DragonFights-1.4.2.jar:?] at net.minecraft.world.entity.EntityType.create(EntityType.java:512) ~[?:?] at lv.id.bonne.dragonfights.v1_19_R1.battle.BentoBoxDragonBattle.lambda$createNewDragon$8(BentoBoxDragonBattle.java:1312) ~[DragonFights-1.4.2.jar:?] at java.util.Optional.map(Optional.java:260) ~[?:?] at lv.id.bonne.dragonfights.v1_19_R1.battle.BentoBoxDragonBattle.createNewDragon(BentoBoxDragonBattle.java:1312) ~[DragonFights-1.4.2.jar:?] at lv.id.bonne.dragonfights.v1_19_R1.battle.BentoBoxDragonBattle.findOrCreateDragon(BentoBoxDragonBattle.java:1272) ~[DragonFights-1.4.2.jar:?] at lv.id.bonne.dragonfights.v1_19_R1.battle.BentoBoxDragonBattle.tickBattle(BentoBoxDragonBattle.java:417) ~[DragonFights-1.4.2.jar:?] at lv.id.bonne.dragonfights.managers.DragonFightManager$BattleTick.accept(DragonFightManager.java:457) ~[DragonFights-1.4.2.jar:?] at lv.id.bonne.dragonfights.managers.DragonFightManager$BattleTick.accept(DragonFightManager.java:405) ~[DragonFights-1.4.2.jar:?] at org.bukkit.craftbukkit.v1_19_R1.scheduler.CraftTask.run(CraftTask.java:103) ~[paper-1.19.2.jar:git-Paper-176] at org.bukkit.craftbukkit.v1_19_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:483) ~[paper-1.19.2.jar:git-Paper-176] at net.minecraft.server.MinecraftServer.tickChildren(MinecraftServer.java:1473) ~[paper-1.19.2.jar:git-Paper-176] at net.minecraft.server.dedicated.DedicatedServer.tickChildren(DedicatedServer.java:446) ~[paper-1.19.2.jar:git-Paper-176] at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1397) ~[paper-1.19.2.jar:git-Paper-176] at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1173) ~[paper-1.19.2.jar:git-Paper-176] at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:305) ~[paper-1.19.2.jar:git-Paper-176] at java.lang.Thread.run(Thread.java:833) ~[?:?] Caused by: java.lang.reflect.InvocationTargetException at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:?] at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:77) ~[?:?] at jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:?] at java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499) ~[?:?] at java.lang.reflect.Constructor.newInstance(Constructor.java:480) ~[?:?] at lv.id.bonne.dragonfights.v1_19_R1.NMSEntityRegistry.lambda$applyRegister$0(NMSEntityRegistry.java:132) ~[DragonFights-1.4.2.jar:?] ... 16 more Caused by: java.lang.NoSuchMethodError: 'void lv.id.bonne.dragonfights.v1_19_R1.entity.BentoBoxEnderDragon.fq()' at lv.id.bonne.dragonfights.v1_19_R1.entity.BentoBoxEnderDragon.<init>(BentoBoxEnderDragon.java:70) ~[DragonFights-1.4.2.jar:?] at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:?] at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:77) ~[?:?] at jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:?] at java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499) ~[?:?] at java.lang.reflect.Constructor.newInstance(Constructor.java:480) ~[?:?] at lv.id.bonne.dragonfights.v1_19_R1.NMSEntityRegistry.lambda$applyRegister$0(NMSEntityRegistry.java:132) ~[DragonFights-1.4.2.jar:?] ... 16 more
Description
Describe the bug
After all, towers spawn, the dragon does not spawn and in console spam errors.
Steps to reproduce the behavior
Put crystals to spawn dragon and wait.
Expected behavior
Dragons appears and no errors in console.
Environment
BentoBox Version (Mandatory)
Plugins (Optional)
Additional context (Optional)
[Server thread/WARN]: [BentoBox] Task #460 for BentoBox v1.21.0-SNAPSHOT-b2283 generated an exception java.lang.RuntimeException: java.lang.reflect.InvocationTargetException at lv.id.bonne.dragonfights.v1_19_R1.NMSEntityRegistry.lambda$applyRegister$0(NMSEntityRegistry.java:136) ~[DragonFights-1.4.2.jar:?] at net.minecraft.world.entity.EntityType.create(EntityType.java:512) ~[?:?] at lv.id.bonne.dragonfights.v1_19_R1.battle.BentoBoxDragonBattle.lambda$createNewDragon$8(BentoBoxDragonBattle.java:1312) ~[DragonFights-1.4.2.jar:?] at java.util.Optional.map(Optional.java:260) ~[?:?] at lv.id.bonne.dragonfights.v1_19_R1.battle.BentoBoxDragonBattle.createNewDragon(BentoBoxDragonBattle.java:1312) ~[DragonFights-1.4.2.jar:?] at lv.id.bonne.dragonfights.v1_19_R1.battle.BentoBoxDragonBattle.findOrCreateDragon(BentoBoxDragonBattle.java:1272) ~[DragonFights-1.4.2.jar:?] at lv.id.bonne.dragonfights.v1_19_R1.battle.BentoBoxDragonBattle.tickBattle(BentoBoxDragonBattle.java:417) ~[DragonFights-1.4.2.jar:?] at lv.id.bonne.dragonfights.managers.DragonFightManager$BattleTick.accept(DragonFightManager.java:457) ~[DragonFights-1.4.2.jar:?] at lv.id.bonne.dragonfights.managers.DragonFightManager$BattleTick.accept(DragonFightManager.java:405) ~[DragonFights-1.4.2.jar:?] at org.bukkit.craftbukkit.v1_19_R1.scheduler.CraftTask.run(CraftTask.java:103) ~[paper-1.19.2.jar:git-Paper-176] at org.bukkit.craftbukkit.v1_19_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:483) ~[paper-1.19.2.jar:git-Paper-176] at net.minecraft.server.MinecraftServer.tickChildren(MinecraftServer.java:1473) ~[paper-1.19.2.jar:git-Paper-176] at net.minecraft.server.dedicated.DedicatedServer.tickChildren(DedicatedServer.java:446) ~[paper-1.19.2.jar:git-Paper-176] at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1397) ~[paper-1.19.2.jar:git-Paper-176] at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1173) ~[paper-1.19.2.jar:git-Paper-176] at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:305) ~[paper-1.19.2.jar:git-Paper-176] at java.lang.Thread.run(Thread.java:833) ~[?:?] Caused by: java.lang.reflect.InvocationTargetException at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:?] at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:77) ~[?:?] at jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:?] at java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499) ~[?:?] at java.lang.reflect.Constructor.newInstance(Constructor.java:480) ~[?:?] at lv.id.bonne.dragonfights.v1_19_R1.NMSEntityRegistry.lambda$applyRegister$0(NMSEntityRegistry.java:132) ~[DragonFights-1.4.2.jar:?] ... 16 more Caused by: java.lang.NoSuchMethodError: 'void lv.id.bonne.dragonfights.v1_19_R1.entity.BentoBoxEnderDragon.fq()' at lv.id.bonne.dragonfights.v1_19_R1.entity.BentoBoxEnderDragon.<init>(BentoBoxEnderDragon.java:70) ~[DragonFights-1.4.2.jar:?] at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:?] at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:77) ~[?:?] at jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:?] at java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499) ~[?:?] at java.lang.reflect.Constructor.newInstance(Constructor.java:480) ~[?:?] at lv.id.bonne.dragonfights.v1_19_R1.NMSEntityRegistry.lambda$applyRegister$0(NMSEntityRegistry.java:132) ~[DragonFights-1.4.2.jar:?] ... 16 more