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 @@ -64,11 +64,11 @@ public boolean isEnabled() {
6464
6565 /** Validator that can block a string from being entered */
6666 public void setValidator (Predicate <String > filter ) {
67- internal () .setValidator (filter ::test );
67+ internal .setValidator (filter ::test );
6868 }
6969
7070 /** Move cursor to this text field */
7171 public void setFocused (boolean b ) {
72- internal () .setFocused2 (b );
72+ internal .setFocused2 (b );
7373 }
7474}
Original file line number Diff line number Diff line change @@ -147,7 +147,7 @@ public static void loadServerResource(LoadDatapackEvent event) {
147147 }
148148
149149 private static void loadModResource (ModCore .Mod mod , List <IResourcePack > packs ) {
150- String configDir = FMLPaths .CONFIGDIR .toString ();
150+ String configDir = FMLPaths .CONFIGDIR .get (). toString ();
151151 new File (configDir ).mkdirs ();
152152
153153 IResourcePack modPack = BuiltinPack .attach (ModList .get ().getModFileById (mod .modID ()).getFile ().getFilePath ().toFile ());
You can’t perform that action at this time.
0 commit comments