Skip to content

Commit

Permalink
Fix account add/remove for extensions
Browse files Browse the repository at this point in the history
  • Loading branch information
rtm516 committed Sep 3, 2023
1 parent ba48a54 commit 51dfb14
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -91,10 +91,10 @@ public void onCommandDefine(GeyserDefineCommandsEvent event) {

switch (args[0].toLowerCase()) {
case "add":
sessionManager.addSubSession(args[2]);
sessionManager.addSubSession(args[1]);
break;
case "remove":
sessionManager.removeSubSession(args[2]);
sessionManager.removeSubSession(args[1]);
break;
default:
source.sendMessage("Unknown accounts command: " + args[0]);
Expand Down

0 comments on commit 51dfb14

Please sign in to comment.