Avaritia:Reforged

Avaritia:Reforged

45.5k Downloads

[Bug/漏洞]

alex450 opened this issue · 3 comments

commented

Checks / 检查

  • I confirm that I have searched for existing issues / pull requests before reporting to avoid duplicate reporting./我确认在报告之前我已经搜索了现有的问题或者拉取请求,以避免重复报告。
  • I confirm that I followed the Docs and read the Changelog, but this problem still exists./我确认我按照文档配置并阅读了Changelog,但这个问题仍然存在。
  • I confirm that I noted that if I don't follow the instructions, the issue may be closed directly./我确认我已经检查,如果我不按照说明进行操作,该问题可能会被直接关闭。

Java Version / Java版本

openjdk version "17.0.8" 2023-07-18

Minecraft Version / Minecraft版本

1.20.1

Avaritia-Reforge Version / Avaritia-Reforge版本

1.3.2

Description / 描述

linux下服务端无法正确加载奇点

To Reproduce / 重现

java -version
openjdk version "17.0.8" 2023-07-18
OpenJDK Runtime Environment GraalVM CE 17.0.8+7.1 (build 17.0.8+7-jvmci-23.0-b15)
OpenJDK 64-Bit Server VM GraalVM CE 17.0.8+7.1 (build 17.0.8+7-jvmci-23.0-b15, mixed mode, sharing)

mohist 1.20.1 build 444

默认的json地址形如
/home/alex/mc/minecraftserver/config/avaritia/singularities/avaritia:something.json

报错排头又这样
[12:37:15] [main/ERROR] [committee.nova.mods.avaritia.Static]: An error occurred while loading singularities
net.minecraft.ResourceLocationException: Non [a-z0-9/._-] character in path of location: avaritia:avaritia:steel

那么我认为在linux下不能正确的识别json的地址,也许应该加反斜杠和冒号等?

Log / 日志

https://paste.ubuntu.com/p/CHbcmNhXM6/

Config / 配置

默认的配置

commented

应该是/home/alex/mc/minecraftserver/config/avaritia/singularities/avaritia/something.json

commented

应该是/home/alex/mc/minecraftserver/config/avaritia/singularities/avaritia/something.json

linux下默认生成的就是这样/home/alex/mc/minecraftserver/config/avaritia/singularities/avaritia:something.json
show
我将试一下改成你说的那种格式

commented

应该是/home/alex/mc/minecraftserver/config/avaritia/singularities/avaritia/something.json

linux下默认生成的就是这样/home/alex/mc/minecraftserver/config/avaritia/singularities/avaritia:something.json show 我将试一下改成你说的那种格式

将本地客户端不带冒号的json上传到config/avaritia/singularities 下后启动则正常
如果一开始json没生成,linux安装MOD后会释放出带:的json