Skip to content

Commit

Permalink
Port to 1.21.1
Browse files Browse the repository at this point in the history
  • Loading branch information
The-Fireplace committed Oct 21, 2024
1 parent 1ae6c59 commit cf2489a
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public <S> CompletableFuture<Suggestions> listOfflinePlayerSuggestions(CommandCo
if (context.getSource() instanceof SharedSuggestionProvider commandSource) {
StringReader reader = new StringReader(builder.getInput());
reader.setCursor(builder.getStart());
EntitySelectorParser entitySelectorReader = new EntitySelectorParser(reader);
EntitySelectorParser entitySelectorReader = new EntitySelectorParser(reader, true);

try {
entitySelectorReader.parse();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ public final class OfflinePlayerArgumentParser
{
public PlayerSelector parse(StringReader reader) throws CommandSyntaxException {
int startCursor = reader.getCursor();
EntitySelectorParser entitySelectorReader = new EntitySelectorParser(reader);
EntitySelectorParser entitySelectorReader = new EntitySelectorParser(reader, true);
EntitySelector entitySelector = entitySelectorReader.parse();
if (entitySelector.getMaxResults() > 1) {
reader.setCursor(0);
Expand Down
2 changes: 1 addition & 1 deletion fabric/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ plugins {
archivesBaseName = "${archives_base_name}-Fabric"
def mainArtifactFile = layout.buildDirectory.file("libs/${archivesBaseName}-${version}.jar").get().asFile
def changelogFile = file('../changelog.txt')
def supportedMinecraftVersions = [project.minecraft_version, '1.20.5']
def supportedMinecraftVersions = [project.minecraft_version]

sourceSets {
api {
Expand Down
2 changes: 1 addition & 1 deletion fabric/src/main/resources/fabric.mod.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"depends": {
"fabricloader": ">=0.12.0",
"fabric": "*",
"minecraft": ">=1.21 <1.22",
"minecraft": ">=1.21.1 <1.22",
"annotateddi": ">=4 <5"
},

Expand Down
4 changes: 2 additions & 2 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@
org.gradle.jvmargs=-Xmx3G
org.gradle.daemon=false
# Common
minecraft_version=1.21
minecraft_version=1.21.1
# Common Dependencies
annotateddi_version=4.0.4+1.21.1
# Fabric
fabric_loader_version=0.16.7
fabric_curseforge_url=https://www.curseforge.com/minecraft/mc-mods/fireplace-lib
# Fabric Dependencies
fabric_api_version=0.102.0+1.21
fabric_api_version=0.106.0+1.21.1
fabric_clothconfig_version=15.0.140
modmenu_version=11.0.3
# Mod Properties
Expand Down

0 comments on commit cf2489a

Please sign in to comment.