Skip to content

Commit 91cba93

Browse files
committed
update: focus -> select
1 parent a799fca commit 91cba93

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

blueberry-1.20/src/main/java/net/azisaba/interchatmod/blueberry/WebSocketChatClient.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,9 +82,9 @@ public void switchServer(String server) {
8282
send(gson.toJson(obj));
8383
}
8484

85-
public void focusGuild(long id) {
85+
public void selectGuild(long id) {
8686
JsonObject obj = new JsonObject();
87-
obj.addProperty("type", "focus");
87+
obj.addProperty("type", "select");
8888
obj.addProperty("guildId", id);
8989
send(gson.toJson(obj));
9090
}

blueberry-1.20/src/main/java/net/azisaba/interchatmod/blueberry/commands/GuildFocusCommand.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ private int executeFocus(CommandSourceStack source, String guildName) {
4040
source.sendFailure(Component.literal("そんなぎるどないよ " + guildName));
4141
return 0;
4242
}
43-
mod.client.focusGuild(guild.id());
43+
mod.client.selectGuild(guild.id());
4444
source.sendSystemMessage(Component.literal(guild.name() + " にちゃっとするようにしたよ(/cg <めっせーじ>でできるよ)"));
4545
return 1;
4646
}

0 commit comments

Comments
 (0)