diff --git a/bin/plugin.yml b/bin/plugin.yml index c6f6f7d..f2b5d0c 100644 --- a/bin/plugin.yml +++ b/bin/plugin.yml @@ -1,7 +1,7 @@ name: BaiTeam main: sky_bai.bukkit.baiteam.BaiTeamMain api-version: 1.13 -version: 0.0.4 +version: 0.0.5 author: sky_bai prefix: BaiTeam depend: ["DungeonsXL","PlaceholderAPI"] diff --git a/src/main/java/sky_bai/bukkit/baiteam/gui/TeamGui.java b/src/main/java/sky_bai/bukkit/baiteam/gui/TeamGui.java index 2f2bfec..62a989e 100644 --- a/src/main/java/sky_bai/bukkit/baiteam/gui/TeamGui.java +++ b/src/main/java/sky_bai/bukkit/baiteam/gui/TeamGui.java @@ -51,7 +51,7 @@ public void openTeamInfoGui(Team team, Player player) { a1.addExtra("队长名称: " + team.getLeader().getName() + "\n\n"); List b1 = new ArrayList(); b1.addAll(team.getMembers()); - TextComponent c1 = new TextComponent("" + b1.size() + "/5"); + TextComponent c1 = new TextComponent("" + b1.size() + "/" + BaiTeam.getConfig(ConfigType.Config).getInt("TeamSize",5)); TextComponent d1 = new TextComponent(); for (Player player2 : b1) { d1.addExtra(player2.getName() + "\n"); diff --git a/src/main/resources/plugin.yml b/src/main/resources/plugin.yml index c6f6f7d..f2b5d0c 100644 --- a/src/main/resources/plugin.yml +++ b/src/main/resources/plugin.yml @@ -1,7 +1,7 @@ name: BaiTeam main: sky_bai.bukkit.baiteam.BaiTeamMain api-version: 1.13 -version: 0.0.4 +version: 0.0.5 author: sky_bai prefix: BaiTeam depend: ["DungeonsXL","PlaceholderAPI"]