SteamWar/FightSystem
Archiviert
13
1

Merge pull request 'Join request with leader names instead of team names' (#412) from leaderNameJoinRequest into master
Alle Prüfungen waren erfolgreich
SteamWarCI Build successful

Reviewed-on: #412
Reviewed-by: YoyoNow <jwsteam@nidido.de>
Dieser Commit ist enthalten in:
Lixfel 2024-01-19 16:16:32 +01:00
Commit e12a7ac7b4

Datei anzeigen

@ -50,7 +50,7 @@ public class GUI {
@SuppressWarnings("deprecation")
private static void addTeamRequest(Player p, SWInventory inv, int pos, FightTeam team) {
byte colorCode = ColorConverter.chat2dye(team.getColor()).getDyeData();
inv.setItem(pos, SWItem.getDye(colorCode), colorCode, msg.parse("JOIN_REQUEST_TEAM", p, team.getColoredName()), click -> {
inv.setItem(pos, SWItem.getDye(colorCode), colorCode, msg.parse("JOIN_REQUEST_TEAM", p, team.getColor() + team.getLeader().getEntity().getName()), click -> {
p.closeInventory();
new JoinRequest(p, team);
});