Skip to content

[BUG] Server crashes due to incorrect config path (.\config\.\config\...) #10

@Dipporr

Description

@Dipporr

Describe the bug
When starting a dedicated server with this mod installed, the server crashes due to an invalid configuration path: .\config.\config\mod-startup.toml

It seems the config path is being constructed with a duplicated config directory, causing a NoSuchFileException and preventing the server from starting.

To Reproduce

  1. Set up a Minecraft 1.21.6 Fabric server.
  2. Install ForgeConfigAPIPort and this mod (Hammering).
  3. Start the server.
  4. Observe the crash during startup.

Latest log
2025-06-26-3.log.gz

Expected behavior
Caused by: java.nio.file.NoSuchFileException: .\config.\config\hammering-startup.new.tmp.toml (Check line 84 of the .log to see)

Screenshots
If applicable, add screenshots to help explain your problem.

Full Mod Version
hammering-3.2.1-build.b1+mc1.21.6-fabric

Additional context
Additionally used the following mods in the server:

architectury-17.0.6-fabric
fabric-api-0.127.1+1.21.6
ForgeConfigAPIPort-v21.6.2-1.21.6-Fabric
modmenu-15.0.0-beta.3

Temporary Workaround
Created the following subdirectory manually:
./config/config/

System Info

  • Minecraft: 1.21.6
  • Fabric Loader: 0.16.14
  • Java: 21
  • OS: Windows 11

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions