Skip to content

Commit

Permalink
Update to 1.21
Browse files Browse the repository at this point in the history
  • Loading branch information
misode committed Jun 14, 2024
1 parent 51a4be1 commit 804b057
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ org.gradle.parallel=true

# Fabric Properties
# check these on https://fabricmc.net/develop
minecraft_version=1.21-pre2
minecraft_version=1.21
loader_version=0.15.11

# Mod Properties
mod_version=1.8.0-beta1
mod_version=1.8.0-beta2
maven_group=io.github.misode
archives_base_name=packtest

# Dependencies
fabric_version=0.99.4+1.21
fabric_version=0.100.1+1.21
Original file line number Diff line number Diff line change
Expand Up @@ -332,8 +332,8 @@ private static AssertResult assertChat(CommandContext<CommandSourceStack> ctx, P
List<String> matching = chatListener.filter(m -> filter.test(m) && predicate.test(m.content()));
List<String> all = matching.isEmpty() ? chatListener.filter(filter) : matching;
String got = all.isEmpty() ? "no messages"
: all.size() == 1 ? all.get(0)
: all.get(all.size() - 1) + " and " + (all.size() - 1) + " more";
: all.size() == 1 ? all.getFirst()
: all.getLast() + " and " + (all.size() - 1) + " more";
return result(!matching.isEmpty(), pattern + " in chat", got);
}

Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/fabric.mod.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"accessWidener": "packtest.accesswidener",
"depends": {
"fabricloader": ">=0.15.10",
"minecraft": ">=1.20.5",
"minecraft": ">=1.21",
"java": ">=21",
"fabric-api": "*"
}
Expand Down

0 comments on commit 804b057

Please sign in to comment.