Skip to content

Commit

Permalink
Added SERVER placeholder to wrong-version message
Browse files Browse the repository at this point in the history
  • Loading branch information
ajgeiss0702 committed Jul 31, 2022
1 parent 76ab9ef commit fc4cf51
Showing 1 changed file with 5 additions and 1 deletion.
Expand Up @@ -118,7 +118,11 @@ public boolean addToQueue(AdaptedPlayer player, QueueServer server) {
versions.append(msgs.getString("errors.wrong-version.comma"));
}
}
player.sendMessage(msgs.getComponent("errors.wrong-version.base", "VERSIONS:" + versions));
player.sendMessage(msgs.getComponent(
"errors.wrong-version.base",
"VERSIONS:" + versions,
"SERVER:"+server.getAlias()
));
return false;
}

Expand Down

0 comments on commit fc4cf51

Please sign in to comment.