From 6523f1702eb610c6b6291e09f99a7200249efba8 Mon Sep 17 00:00:00 2001 From: Des Herriott Date: Wed, 14 Aug 2024 16:31:14 +0100 Subject: [PATCH] build: updated to MC 1.21.1, gradle 8.8, arch loom 1.7 --- build.gradle | 2 +- .../java/dev/ftb/mods/ftbteams/data/TeamArgument.java | 2 +- gradle.properties | 10 +++++----- gradle/wrapper/gradle-wrapper.properties | 2 +- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/build.gradle b/build.gradle index 7a759cf..b71d73c 100644 --- a/build.gradle +++ b/build.gradle @@ -1,6 +1,6 @@ plugins { id "architectury-plugin" version "3.4-SNAPSHOT" - id "dev.architectury.loom" version "1.6-SNAPSHOT" apply false + id "dev.architectury.loom" version "1.7-SNAPSHOT" apply false id "me.modmuss50.mod-publish-plugin" version "0.5.1" } diff --git a/common/src/main/java/dev/ftb/mods/ftbteams/data/TeamArgument.java b/common/src/main/java/dev/ftb/mods/ftbteams/data/TeamArgument.java index 49b8fc3..4aa7d2c 100644 --- a/common/src/main/java/dev/ftb/mods/ftbteams/data/TeamArgument.java +++ b/common/src/main/java/dev/ftb/mods/ftbteams/data/TeamArgument.java @@ -98,7 +98,7 @@ public Team getTeam(CommandSourceStack source) throws CommandSyntaxException { @Override public TeamArgumentProvider parse(StringReader reader) throws CommandSyntaxException { if (reader.canRead() && reader.peek() == '@') { - EntitySelector selector = new EntitySelectorParser(reader).parse(); + EntitySelector selector = new EntitySelectorParser(reader, true).parse(); if (selector.includesEntities()) { throw EntityArgument.ERROR_ONLY_PLAYERS_ALLOWED.create(); diff --git a/gradle.properties b/gradle.properties index 4517cd2..eb8cd4a 100644 --- a/gradle.properties +++ b/gradle.properties @@ -7,20 +7,20 @@ maven_group=dev.ftb.mods readable_name=FTB Teams mod_author=FTB Team -mod_version=2100.1.1 -minecraft_version=1.21 +mod_version=2101.1.0 +minecraft_version=1.21.1 # Deps #forge_version=50.0.9 neoforge_loader_version=4 -neoforge_version=21.0.160 -neoforge_version_range=[21.0.143,) +neoforge_version=21.1.9 +neoforge_version_range=[21.1.0,) fabric_loader_version=0.15.11 fabric_api_version=0.100.8+1.21 fabric_api_version_range=>=0.100.1+1.21 architectury_api_version=13.0.1 -ftb_library_version=2100.1.5-SNAPSHOT +ftb_library_version=2101.1.0-SNAPSHOT curseforge_id_forge=404468 curseforge_id_fabric=438497 diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index 4518132..6e968fa 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -2,4 +2,4 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-8.8-bin.zip