Skip to content

Commit 167b6a3

Browse files
committed
Merge remote-tracking branch 'upstream'
2 parents ba8c2e2 + 95cd145 commit 167b6a3

3 files changed

Lines changed: 21 additions & 13 deletions

File tree

.github/workflows/publish.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,14 @@ on:
1616
description: "Publish to GitHub"
1717
type: boolean
1818
default: true
19+
publish_curseforge:
20+
description: "Dummy input. Does nothing."
21+
type: boolean
22+
default: false
23+
publish_modrinth:
24+
description: "Dummy input. Does nothing."
25+
type: boolean
26+
default: false
1927
update_website:
2028
description: "Update WurstClient.net post (only works if there already is one)"
2129
type: boolean

gradle.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ loader_version=0.19.2
1111
loom_version=1.16-SNAPSHOT
1212

1313
# Fabric API
14-
fabric_api_version=0.147.0+26.1.2
14+
fabric_api_version=0.149.0+26.1.2
1515

1616
# Mod Properties
1717
mod_version=v7.53.1-CevAPI-MC26.1.2
@@ -25,5 +25,5 @@ gh_repo_id=cev-api/Wurst7-CevAPI
2525

2626
# Dependencies
2727
# check at https://modrinth.com/mod/sodium/versions?l=fabric&g=26.1.2
28-
sodium_version=mc26.1.2-0.8.10-fabric
28+
sodium_version=mc26.1.2-0.8.11-fabric
2929
do_mod_compat_test=true

src/main/java/net/wurstclient/mixin/CommandSuggestionsMixin.java

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -79,17 +79,17 @@ private void onRefresh(CallbackInfo ci)
7979
SuggestionsBuilder builder = new SuggestionsBuilder(draftMessage, 0);
8080
String inlineSuggestion = "";
8181
int suggestions = 0;
82-
for(Command cmd : commands)
83-
{
84-
if(cmd == null || cmd.getName() == null)
85-
continue;
86-
87-
String cmdName = cmd.getName();
88-
if(cmdName.startsWith("."))
89-
cmdName = cmdName.substring(1);
90-
String candidate = prefix + cmdName;
91-
if(!candidate.toLowerCase(Locale.ROOT).startsWith(lowerDraft))
92-
continue;
82+
for(Command cmd : commands)
83+
{
84+
if(cmd == null || cmd.getName() == null)
85+
continue;
86+
87+
String cmdName = cmd.getName();
88+
if(cmdName.startsWith("."))
89+
cmdName = cmdName.substring(1);
90+
String candidate = prefix + cmdName;
91+
if(!candidate.toLowerCase(Locale.ROOT).startsWith(lowerDraft))
92+
continue;
9393

9494
builder.suggest(candidate);
9595
suggestions++;

0 commit comments

Comments
 (0)