mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2025-12-18 01:46:44 +01:00
Enhance the default permissions logic
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user