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 () .setFocus (b );
74+ internal .setFocus (b );
7575 }
7676}
Original file line number Diff line number Diff line change @@ -149,7 +149,7 @@ public static void loadServerResource(LoadDatapackEvent event) {
149149 }
150150
151151 private static void loadModResource (ModCore .Mod mod , List <PackResources > packs ) {
152- String configDir = FMLPaths .CONFIGDIR .toString ();
152+ String configDir = FMLPaths .CONFIGDIR .get (). toString ();
153153 new File (configDir ).mkdirs ();
154154
155155 PackResources modPack = BuiltinPack .attach (ModList .get ().getModFileById (mod .modID ()).getFile ().getFilePath ().toFile ());
You can’t perform that action at this time.
0 commit comments