Show display of parties properly.
This commit is contained in:
parent
2ac3667437
commit
1de22e0664
Binary file not shown.
@ -51,7 +51,7 @@ public class PartyManager {
|
|||||||
//Bukkit.getScoreboardManager().getMainScoreboard().registerNewObjective("Party"+color, "dummy");
|
//Bukkit.getScoreboardManager().getMainScoreboard().registerNewObjective("Party"+color, "dummy");
|
||||||
Bukkit.dispatchCommand(Bukkit.getConsoleSender(), "scoreboard objectives add Party"+party+" dummy Party");
|
Bukkit.dispatchCommand(Bukkit.getConsoleSender(), "scoreboard objectives add Party"+party+" dummy Party");
|
||||||
//Bukkit.getScoreboardManager().getMainScoreboard().getObjective("Party"+color).setDisplaySlot(DisplaySlot.SIDEBAR);
|
//Bukkit.getScoreboardManager().getMainScoreboard().getObjective("Party"+color).setDisplaySlot(DisplaySlot.SIDEBAR);
|
||||||
Bukkit.dispatchCommand(Bukkit.getConsoleSender(), "scoreboard objectives setdisplay sidebar.team."+color+" Party"+color);
|
Bukkit.dispatchCommand(Bukkit.getConsoleSender(), "scoreboard objectives setdisplay sidebar.team."+color+" Party"+party);
|
||||||
|
|
||||||
for (int i=0;i<partymembers.size();i++) {
|
for (int i=0;i<partymembers.size();i++) {
|
||||||
Player p = partymembers.get(i);
|
Player p = partymembers.get(i);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user