Micalhl / TrHologram

Modern & Lightweight & Multi-Bug(at least for now) Holographic-Plugin
https://trhologram.trixey.cc/
MIT License
18 stars 24 forks source link

paper 1.17.1报错 #19

Closed nullaqua closed 2 years ago

nullaqua commented 3 years ago

paper 1.17.1-386 加载插件时报错如下

[18:10:21] [Server thread/INFO]: [TrHologram] INFO | 插件启用. 当前运行版本 2.4-pre20. [18:10:21] [Server thread/ERROR]: Error occurred while enabling TrHologram v2.4-pre20 (Is it up to date?) java.lang.ClassCastException: Cannot cast java.lang.String to net.kyori.adventure.text.Component at java.lang.Class.cast(Class.java:3889) ~[?:?] at java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:732) ~[?:?] at me.arasple.mc.trhologram.taboolib.common.reflect.Ref.put(Ref.kt:37) ~[TrHologram-2.4-pre20.jar:?] at me.arasple.mc.trhologram.taboolib.common.reflect.Reflex.set(Reflex.kt:69) ~[TrHologram-2.4-pre20.jar:?] at me.arasple.mc.trhologram.taboolib.common.reflect.Reflex.write(Reflex.kt:36) ~[TrHologram-2.4-pre20.jar:?] at me.arasple.mc.trhologram.taboolib.common.reflect.Reflex$Companion.setProperty(Reflex.kt:142) ~[TrHologram-2.4-pre20.jar:?] at me.arasple.mc.trhologram.taboolib.common.reflect.Reflex$Companion.setProperty$default(Reflex.kt:138) ~[TrHologram-2.4-pre20.jar:?] at me.arasple.mc.trhologram.taboolib.platform.BukkitCommand$registerCommand$1.invoke(BukkitCommand.kt:78) ~[TrHologram-2.4-pre20.jar:?] at me.arasple.mc.trhologram.taboolib.platform.BukkitCommand$registerCommand$1.invoke(BukkitCommand.kt:63) ~[TrHologram-2.4-pre20.jar:?] at me.arasple.mc.trhologram.taboolib.platform.BukkitExecutor$submit$1.<init>(BukkitExecutor.kt:39) ~[TrHologram-2.4-pre20.jar:?] at me.arasple.mc.trhologram.taboolib.platform.BukkitExecutor.submit(BukkitExecutor.kt:36) ~[TrHologram-2.4-pre20.jar:?] at me.arasple.mc.trhologram.taboolib.platform.BukkitExecutor.start(BukkitExecutor.kt:28) ~[TrHologram-2.4-pre20.jar:?] at me.arasple.mc.trhologram.taboolib.common.platform.function.ExecutorKt.startExecutor(Executor.kt:11) ~[TrHologram-2.4-pre20.jar:?] at me.arasple.mc.trhologram.taboolib.platform.BukkitPlugin.onEnable(BukkitPlugin.java:64) ~[TrHologram-2.4-pre20.jar:?] at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:264) ~[patched_1.17.1.jar:git-Paper-386] at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:370) ~[patched_1.17.1.jar:git-Paper-386] at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:500) ~[patched_1.17.1.jar:git-Paper-386] at org.bukkit.craftbukkit.v1_17_R1.CraftServer.enablePlugin(CraftServer.java:561) ~[patched_1.17.1.jar:git-Paper-386] at org.bukkit.craftbukkit.v1_17_R1.CraftServer.enablePlugins(CraftServer.java:475) ~[patched_1.17.1.jar:git-Paper-386] at net.minecraft.server.MinecraftServer.loadWorld(MinecraftServer.java:733) ~[patched_1.17.1.jar:git-Paper-386] at net.minecraft.server.dedicated.DedicatedServer.initServer(DedicatedServer.java:317) ~[patched_1.17.1.jar:git-Paper-386] at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1220) ~[patched_1.17.1.jar:git-Paper-386] at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:319) ~[patched_1.17.1.jar:git-Paper-386] at java.lang.Thread.run(Thread.java:833) ~[?:?] [18:10:21] [Server thread/INFO]: [TrHologram] Disabling TrHologram v2.4-pre20