File tree Expand file tree Collapse file tree
src/main/java/cam72cam/mod Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -66,11 +66,11 @@ public boolean isEnabled() {
6666
6767 /** Validator that can block a string from being entered */
6868 public void setValidator (Predicate <String > filter ) {
69- internal () .setFilter (filter );
69+ internal .setFilter (filter );
7070 }
7171
7272 /** Move cursor to this text field */
7373 public void setFocused (boolean b ) {
74- internal () .setFocused (b );
74+ internal .setFocused (b );
7575 }
7676}
Original file line number Diff line number Diff line change @@ -153,7 +153,7 @@ public static void loadServerResource(LoadDatapackEvent event) {
153153 }
154154
155155 private static void loadModResource (ModCore .Mod mod , List <PackResources > packs ) {
156- String configDir = FMLPaths .CONFIGDIR .toString ();
156+ String configDir = FMLPaths .CONFIGDIR .get (). toString ();
157157 new File (configDir ).mkdirs ();
158158
159159 PackResources modPack = BuiltinPack .attach (ModList .get ().getModFileById (mod .modID ()).getFile ().getFilePath ().toFile ());
You can’t perform that action at this time.
0 commit comments