Enhance the default permissions logic

This commit is contained in:
xtaodada
2022-05-16 00:40:10 +08:00
committed by Melledy
parent 21478b0a33
commit 1adffc21c0
3 changed files with 13 additions and 14 deletions

View File

@@ -32,7 +32,7 @@ public final class GachaHandler implements Router {
private final String gachaMappings;
public GachaHandler() {
this.gachaMappings = Utils.toFilePath(DATA("/gacha/mappings.js"));
this.gachaMappings = Utils.toFilePath(DATA("gacha/mappings.js"));
if(!(new File(this.gachaMappings).exists())) {
try {
Tools.createGachaMapping(this.gachaMappings);