FUBS Random Teleport

FUBS Random Teleport

9.5k Downloads

Cannot hook into Chunky

Artuto opened this issue ยท 0 comments

commented

Plugin Version

2.0-SNAPSHOT (build 98)

Environment description

Minecraft 1.19.3

Full Log

[01:11:31 INFO]: [RandomTeleport] Enabling RandomTeleport v2.0-SNAPSHOT (build 98)
[01:11:31 ERROR]: [ChunkyBorder] Could not hook into ChunkyBorder 1.1.42!
java.lang.reflect.InvocationTargetException: null
        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 de.themoep.randomteleport.hook.HookManager.registerHook(HookManager.java:83) ~[RandomTeleport-minebench-b98.jar:?]
        at de.themoep.randomteleport.hook.HookManager.<init>(HookManager.java:52) ~[RandomTeleport-minebench-b98.jar:?]
        at de.themoep.randomteleport.RandomTeleport.onEnable(RandomTeleport.java:84) ~[RandomTeleport-minebench-b98.jar:?]
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:264) ~[prismarine-api-1.19.3-R0.1-SNAPSHOT.jar:?]
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:371) ~[prismarine-api-1.19.3-R0.1-SNAPSHOT.jar:?]
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:544) ~[prismarine-api-1.19.3-R0.1-SNAPSHOT.jar:?]
        at org.bukkit.craftbukkit.v1_19_R2.CraftServer.enablePlugin(CraftServer.java:578) ~[prismarine-1.19.3.jar:git-Prismarine-12]
        at org.bukkit.craftbukkit.v1_19_R2.CraftServer.enablePlugins(CraftServer.java:492) ~[prismarine-1.19.3.jar:git-Prismarine-12]
        at net.minecraft.server.MinecraftServer.loadWorld0(MinecraftServer.java:637) ~[prismarine-1.19.3.jar:git-Prismarine-12]
        at net.minecraft.server.MinecraftServer.loadLevel(MinecraftServer.java:436) ~[prismarine-1.19.3.jar:git-Prismarine-12]
        at net.minecraft.server.dedicated.DedicatedServer.initServer(DedicatedServer.java:305) ~[prismarine-1.19.3.jar:git-Prismarine-12]
        at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1103) ~[prismarine-1.19.3.jar:git-Prismarine-12]
        at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:318) ~[prismarine-1.19.3.jar:git-Prismarine-12]
        at java.lang.Thread.run(Thread.java:833) ~[?:?]
Caused by: java.lang.ClassCastException: class org.popcraft.chunkyborder.ChunkyBorderBukkit cannot be cast to class org.popcraft.chunkyborder.ChunkyBorder (org.popcraft.chunkyborder.ChunkyBorderBukkit and org.popcraft.chunkyborder.ChunkyBorder are in unnamed module of loader 'ChunkyBorder-1.1.42.jar' @6d5af06)
        at de.themoep.randomteleport.hook.plugin.ChunkyBorderHook.<init>(ChunkyBorderHook.java:15) ~[RandomTeleport-minebench-b98.jar:?]
        ... 19 more

What other programs/plugins are you running?

Chunky and ChunkyBorder

What is happening?

Plugin failed to hook into another plugin

What did you expect to happen?

Not error

Additional context

N/A