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

[Bug] 配置文件的生成路径错误 #15

Open
YuYue-Amatsuki opened this issue Sep 10, 2024 · 1 comment
Open

[Bug] 配置文件的生成路径错误 #15

YuYue-Amatsuki opened this issue Sep 10, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@YuYue-Amatsuki
Copy link

YuYue-Amatsuki commented Sep 10, 2024

运行环境

Windows 10 LTSC ZuluJDK 21

鹊桥版本号

0.0.4

服务端信息

fabric 1.20.4

复现问题的步骤

1.删除floodgate的配置文件
2.启动服务器
3.服务器报错并关闭
4.配置文件生成在floodgate的配置文件夹内

错误日志

见日志文件

latest.log

截图

ZxPEuqeq.mp4

备注

No response

@YuYue-Amatsuki YuYue-Amatsuki added the bug Something isn't working label Sep 10, 2024
@17TheWord
Copy link
Owner

感觉怪怪的
不论是 代码 对路径的判定

String configFolder = isModServer ? "config" : "plugins";
String serverType = isModServer ? "模组" : "插件";
Path configMapFilePath = Paths.get("./" + configFolder, BaseConstant.MODULE_NAME, "config.yml");

还是日志内的记录

[23:18:12] [main/INFO]: 正在启动
[23:18:12] [main/INFO]: 正在读取配置文件。
[23:18:12] [main/INFO]: 当前服务端类型为:模组服,配置文件路径为:C:\Users\YuYue\Desktop\mcdr3\server\.\config\QueQiao\config.yml。
[23:18:12] [main/INFO]: 读取配置文件成功。
[23:18:12] [main/INFO]: 初始化完成

都没有放到其他地方的可能,暂时没有思路。

@17TheWord 17TheWord changed the title 配置文件的生成路径错误 [Bug] 配置文件的生成路径错误 Sep 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants