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 @@ -68,11 +68,11 @@ public boolean isEnabled() {
6868
6969 /** Validator that can block a string from being entered */
7070 public void setValidator (Predicate <String > filter ) {
71- internal () .setFilter (filter );
71+ internal .setFilter (filter );
7272 }
7373
7474 /** Move cursor to this text field */
7575 public void setFocused (boolean b ) {
76- internal () .setFocus (b );
76+ internal .setFocus (b );
7777 }
7878}
Original file line number Diff line number Diff line change @@ -142,7 +142,7 @@ public static void loadServerResource(LoadDatapackEvent event) {
142142 }
143143
144144 private static void loadModResource (ModCore .Mod mod , List <IResourcePack > packs ) {
145- String configDir = FMLPaths .CONFIGDIR .toString ();
145+ String configDir = FMLPaths .CONFIGDIR .get (). toString ();
146146 new File (configDir ).mkdirs ();
147147
148148 IResourcePack modPack = BuiltinPack .attach (ModList .get ().getModFileById (mod .modID ()).getFile ().getFilePath ().toFile ());
You can’t perform that action at this time.
0 commit comments