/lp import uses wrong path on SpongeForge
Closed this issue ยท 6 comments
When running /lp import permsexport
, I get the following output:
[LP] Error: File /home/server/ms3/4.1.1/./luckperms/permsexport does not exist.
It appears LP determines the path from the server root to the config directory is ./luckperms/
, not config/luckperms/
.
SpongeAPI: 7.1.0-SNAPSHOT-43d8496
SpongeForge: 1.12.2-2705-7.1.0-BETA-3136
Forge: 14.23.4.2705
LuckPerms: 4.2.19
Does Sponge's @Inject @ConfigDir(sharedRoot = false)
on a field work correctly? I don't know how that internally determines the right directory, but it seems to point to config/<plugin>/
from my experience.
That's a misunderstanding on my part, then, though I agree the ./
doesn't make sense.