diff --git a/VelocityCore/src/de/steamwar/messages/BungeeCore.properties b/VelocityCore/src/de/steamwar/messages/BungeeCore.properties index c9527253..8f288592 100644 --- a/VelocityCore/src/de/steamwar/messages/BungeeCore.properties +++ b/VelocityCore/src/de/steamwar/messages/BungeeCore.properties @@ -494,7 +494,7 @@ TEAM_INFO_USAGE=§8/§7team info §8[§eTeamname§8] TEAM_INFO_TEAM=§7Team §e{0} §8[§{1}{2}§8] TEAM_INFO_LEADER=§7Leader ({0})§8: {1} TEAM_INFO_MEMBER=§7Member ({0})§8: {1} -TEAM_INFO_EVENTS=§7Events§8: §e{0} +TEAM_INFO_EVENTS=§7Events ({0})§8: §e{1} #Team List TEAM_LIST_NOT_PAGE=§cNo page number entered diff --git a/VelocityCore/src/de/steamwar/messages/BungeeCore_de.properties b/VelocityCore/src/de/steamwar/messages/BungeeCore_de.properties index c50cf682..34ecb20f 100644 --- a/VelocityCore/src/de/steamwar/messages/BungeeCore_de.properties +++ b/VelocityCore/src/de/steamwar/messages/BungeeCore_de.properties @@ -468,7 +468,7 @@ TEAM_INFO_USAGE=§8/§7team info §8[§eTeamname§8] TEAM_INFO_TEAM=§7Team §e{0} §8[§{1}{2}§8] TEAM_INFO_LEADER=§7Leader ({0})§8: {1} TEAM_INFO_MEMBER=§7Member ({0})§8: {1} -TEAM_INFO_EVENTS=§7Events§8: §e{0} +TEAM_INFO_EVENTS=§7Events ({0})§8: §e{1} #Team List TEAM_LIST_NOT_PAGE=§cKeine Seitenzahl angegeben diff --git a/VelocityCore/src/de/steamwar/velocitycore/commands/TeamCommand.java b/VelocityCore/src/de/steamwar/velocitycore/commands/TeamCommand.java index 928d6e78..0dd865b1 100644 --- a/VelocityCore/src/de/steamwar/velocitycore/commands/TeamCommand.java +++ b/VelocityCore/src/de/steamwar/velocitycore/commands/TeamCommand.java @@ -301,7 +301,7 @@ public class TeamCommand extends SWCommand { Set events = TeamTeilnahme.getEvents(team.getTeamId()); if(!events.isEmpty()){ - sender.prefixless("TEAM_INFO_EVENTS", events.stream().map(Event::getEventName).collect(Collectors.joining(", "))); + sender.prefixless("TEAM_INFO_EVENTS", events.size(), events.stream().map(Event::getEventName).collect(Collectors.joining(", "))); } }