Skip to content

Commit

Permalink
use plug 3.2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
KrLite committed Dec 28, 2022
1 parent b394398 commit c78bbf0
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ dependencies {

modImplementation "net.fabricmc.fabric-api:fabric-api:${project.fabric_version}"

/* Plume Config v3.2.1 */
modApi include("maven.modrinth:plumeconfig:4uCYxiEc")
/* Plume Config v3.2.2 */
modApi include("maven.modrinth:plumeconfig:VBp6QJgO")
modLocalRuntime("org.tomlj:tomlj:1.1.0")
}

Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ org.gradle.parallel = true
loader_version = 0.14.11

# Mod Properties
mod_version = 3.1.1
mod_version = 3.1.2
maven_group = net.krlite
archives_base_name = splasher-1.19

Expand Down
2 changes: 1 addition & 1 deletion src/main/java/net/krlite/splasher/Splasher.java
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
public class Splasher implements ModInitializer {
public static final String MOD_ID = "splasher";
public static final Logger LOGGER = LoggerFactory.getLogger(MOD_ID);
public static final SplasherConfig CONFIG = new ConfigFile(MOD_ID).loadAndSave(SplasherConfig.class);
public static final SplasherConfig CONFIG = new ConfigFile<>(SplasherConfig.class, MOD_ID).operate();
public static final Pusher PUSHER = new Pusher(CONFIG.randomRate == SplasherConfig.RandomRate.JEB);

record Node(double x, double y) {
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/net/krlite/splasher/SplasherConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public class SplasherConfig {
@Comment("Never - Never show random splash texts")
@Comment("Reload - Refresh after reloading resources")
@Comment("Click - Refresh when clicking the splash text")
@Comment(value = "Both - Refresh splash texts when reloading and clicking", newLine = LineBreak.AFTER)
@Comment(value = "Both - Refresh splash texts when reloading and clicking", end = LineBreak.AFTER)

@Option(key = "random_rate", name = "Splash Texts Refresh Rate")
public RandomRate randomRate = RandomRate.BOTH;
Expand Down

0 comments on commit c78bbf0

Please sign in to comment.