Skip to content

Commit

Permalink
I forgot to add load
Browse files Browse the repository at this point in the history
  • Loading branch information
LucunJi committed Jun 24, 2024
1 parent e7cbc29 commit a5c7f73
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/main/java/github/io/lucunji/explayerenderer/Main.java
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ public class Main implements ClientModInitializer {

@Override
public void onInitializeClient() {
Configs.load();

var configKey = KeyBindingHelper.registerKeyBinding(new KeyBinding(
"key." + MOD_ID + ".openMenu",
InputUtil.Type.KEYSYM,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ public class Configs {
.build())
.build();

public static boolean load() {
return HANDLER.load();
}

public static Configs getInstance() {
return HANDLER.instance();
}
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/fabric.mod.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"schemaVersion": 1,
"id": "explayerenderer",
"version": "3.0.0-alpha.2",
"version": "3.0.0-alpha.3",

"name": "ExtraPlayerRenderer",
"description": "Render an extra player figure on your screen. Made for game streaming and recordings.",
Expand Down

0 comments on commit a5c7f73

Please sign in to comment.