Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

除默认世界外的其它世界加载全息信息都会报错,并阻止启动时自动加载全息信息 #31

Open
xinyue2015 opened this issue Jun 16, 2021 · 0 comments

Comments

@xinyue2015
Copy link

服务器版本为1.16.5 paper #177
TabooLib 为自动下载的最新版本(测试时手动删除后自动下载的版本)
TrHologram版本从2.2到2.3都有该问题.
如果在非默认的世界名称世界里含有全息信息,会直接报错并阻止服务器启动时自动加载全息信息,但仍然可以在服务器启动成功后使用/hd reload 命令进行正常加载.这个问题说大不大说小也不小,每次启动服务器都需要手动执行一次重载命令.

例如我在某个全息位于地皮世界 plotworld,在配置位置内使用plotworld这个名称就会导致上面说的问题,但是我把这个plotworld改成world就会正常加载并且没有任何报错.
经过测试使用world、world_nether和world_the_end这三个世界名无报错,其它的世界名称都会引起报错,并阻止自动加载全息信息.

Location: plotworld~397.53,67.0,-1542.47
改成
Location: world~397.53,67.0,-1542.47
就不会有任何报错,并成功加载所有全息文件.

报错信息:
[04:34:53 INFO]: [TrHologram][INFO] 插件 TabooLib 注册新的连接池: jdbc:sqlite:plugins\TabooLib\playerdata\v2\data.db [04:34:53 WARN]: java.lang.NullPointerException [04:34:53 WARN]: at me.arasple.mc.trhologram.api.Position$Companion.fromLocation(Position.kt:46) [04:34:53 WARN]: at me.arasple.mc.trhologram.module.conf.HologramLoader.load(HologramLoader.kt:102) [04:34:53 WARN]: at me.arasple.mc.trhologram.module.conf.HologramLoader.load(HologramLoader.kt:68) [04:34:53 WARN]: at me.arasple.mc.trhologram.module.conf.HologramLoader.load(HologramLoader.kt:59) [04:34:53 WARN]: at me.arasple.mc.trhologram.TrHologram.onEnable(TrHologram.kt:31) [04:34:53 WARN]: at me.arasple.mc.trhologram.module.internal.boot.PluginBoot.onEnable(PluginBoot.java:123) [04:34:53 WARN]: at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:263) [04:34:53 WARN]: at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:370) [04:34:53 WARN]: at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:500) [04:34:53 WARN]: at org.bukkit.craftbukkit.v1_16_R3.CraftServer.enablePlugin(CraftServer.java:518) [04:34:53 WARN]: at org.bukkit.craftbukkit.v1_16_R3.CraftServer.enablePlugins(CraftServer.java:432) [04:34:53 WARN]: at net.minecraft.server.v1_16_R3.MinecraftServer.loadWorld(MinecraftServer.java:594) [04:34:53 WARN]: at net.minecraft.server.v1_16_R3.DedicatedServer.init(DedicatedServer.java:298) [04:34:53 WARN]: at net.minecraft.server.v1_16_R3.MinecraftServer.w(MinecraftServer.java:1069) [04:34:53 WARN]: at net.minecraft.server.v1_16_R3.MinecraftServer.lambda$a$0(MinecraftServer.java:291) [04:34:53 WARN]: at java.base/java.lang.Thread.run(Unknown Source)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant