Skip to content

Commit

Permalink
+ rename
Browse files Browse the repository at this point in the history
+ fix #31
  • Loading branch information
cnlimiter committed Nov 12, 2023
1 parent 15d7ff1 commit a75fa61
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
6 changes: 3 additions & 3 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ minecraft_version_range=[1.20,1.21)
# The Neo version must agree with the Minecraft version to get a valid artifact
neo_version=47.1.65
# The Neo version range can use any version of Neo as bounds or match the loader version range
neo_version_range=[47.1,)
neo_version_range=[47,)
# The loader version range can only use the major version of Neo/FML as bounds
loader_version_range=[47,)

Expand Down Expand Up @@ -51,11 +51,11 @@ rhino_version=2001.2.2-build.6
# Must match the String constant located in the main mod class annotated with @Mod.
mod_id=avaritia
# The human-readable display name for the mod.
mod_name=Avaritia-Reforged
mod_name=Re-Avaritia-forged
# The license of the mod. Review your options at https://choosealicense.com/. All Rights Reserved is the default.
mod_license=MIT
# The mod version. See https://semver.org/
mod_version=1.3.3-fo
mod_version=1.3.3
# The group ID for the mod. It is only important when publishing as an artifact to a Maven repository.
# This should match the base package used for the mod sources.
# See https://maven.apache.org/guides/mini/guide-naming-conventions.html
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@

import java.io.*;
import java.nio.charset.StandardCharsets;
import java.nio.file.Path;
import java.util.ArrayList;
import java.util.LinkedHashMap;
import java.util.List;
Expand Down Expand Up @@ -82,7 +83,7 @@ public void loadSingularities(ICondition.IContext context) {
}

public void writeDefaultSingularityFiles() {
var dir = FMLPaths.CONFIGDIR.get().resolve("avaritia/singularities/").toFile();
var dir = FMLPaths.CONFIGDIR.get().resolve("avaritia" + File.separator + "singularities").toFile();

if (!dir.exists() && dir.mkdirs()) {
Static.LOGGER.warn("Could not find default singularities,try to generate!");
Expand Down

0 comments on commit a75fa61

Please sign in to comment.