Draylar / battle-towers

Populates the world with large towers filled with monsters and loot.
https://www.curseforge.com/minecraft/mc-mods/draylars-battle-towers
MIT License
7 stars 8 forks source link

BattleTowersConfig: Use platform-independent paths #1

Closed doublej472 closed 5 years ago

doublej472 commented 5 years ago

On Linux \ doesn't descend into directories, and in this case it creates big folder and file names like .minecraft\config\battle-towers and .minecraft\config\battle-towers\battle-towers.json in the user.dir directory.

I think using / should also work on windows and mac. As an added bonus, you don't have to escape it!

Tested and working on my (Linux) machine

Draylar commented 5 years ago

Thanks! Looks like I should update my other config-based mods in a similar fashion now :) Released as 1.0.2 for 19w12b.