1.20.1 updates

This commit is contained in:
Stampede committed 2023-07-21 11:13:31 -05:00
1 parent 9d69da2dab
commit 95fc2368a5
2 files changed
+4 -4

No files matched your search

+3 -3
View File
@@ -15,9 +15,9 @@ configurations {
}
dependencies {
minecraft("com.mojang:minecraft:1.19.4")
minecraft("com.mojang:minecraft:1.20.1")
mappings(loom.officialMojangMappings())
modImplementation("net.fabricmc:fabric-loader:0.14.19")
modImplementation("net.fabricmc:fabric-loader:0.14.21")
// Make a set of all api modules we wish to use
setOf(
@@ -27,7 +27,7 @@ dependencies {
"fabric-networking-api-v1"
).forEach {
// Add each module as a dependency
modImplementation(fabricApi.module(it, "0.80.0+1.19.4"))
modImplementation(fabricApi.module(it, "0.86.0+1.20.1"))
}
"implementation"("org.yaml:snakeyaml:2.0")
@@ -40,7 +40,7 @@ public class NuVotifierCommand {
}
private static int reload(CommandContext<CommandSourceStack> ctx) {
ctx.getSource().sendSuccess(Component.literal("Reloading NuVotifier...").withStyle(ChatFormatting.GRAY), false);
ctx.getSource().sendSuccess(() -> Component.literal("Reloading NuVotifier...").withStyle(ChatFormatting.GRAY), false);
if (plugin.reload()) {
return 1;
} else {