diff --git a/gradle.properties b/gradle.properties index 48c1219..ffe5e56 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,11 +1,11 @@ # Done to increase the memory available to gradle. org.gradle.jvmargs=-Xmx1G # Fabric Properties -minecraft_version=1.19.4 -yarn_mappings=1.19.4+build.1 -loader_version=0.14.18 +minecraft_version=1.20.1 +yarn_mappings=1.20.1+build.10 +loader_version=0.14.22 #Fabric api -fabric_version=0.76.0+1.19.4 +fabric_version=0.87.0+1.20.1 # Mod Properties mod_version=0.6.3 maven_group=org.samo_lego diff --git a/src/main/java/org/samo_lego/golfiv/commands/GolfCommand.java b/src/main/java/org/samo_lego/golfiv/commands/GolfCommand.java index 9b4361d..7828414 100644 --- a/src/main/java/org/samo_lego/golfiv/commands/GolfCommand.java +++ b/src/main/java/org/samo_lego/golfiv/commands/GolfCommand.java @@ -29,8 +29,7 @@ public static int reloadConfig(ServerCommandSource source) { if(source != null) source.sendFeedback( - Text.literal("Reloaded the config file!") - .formatted(Formatting.GREEN), + () -> Text.literal("Reloaded the config file!").formatted(Formatting.GREEN), false ); return 1;