Not stable version
Signed-off-by: Yaruma3341 <yaruma3341@gmail.com>
Dieser Commit ist enthalten in:
Ursprung
3dc213c5fa
Commit
bf0ffb5684
@ -97,6 +97,7 @@ public class FightTeam {
|
|||||||
|
|
||||||
public void setLeader(FightPlayer leader) {
|
public void setLeader(FightPlayer leader) {
|
||||||
this.leader = leader;
|
this.leader = leader;
|
||||||
|
if(!this.players.contains(leader)) this.players.add(leader);
|
||||||
}
|
}
|
||||||
|
|
||||||
public ArrayList<FightPlayer> getPlayers() {
|
public ArrayList<FightPlayer> getPlayers() {
|
||||||
|
@ -32,7 +32,7 @@ public class PlayerChatListener implements Listener {
|
|||||||
Bukkit.broadcastMessage(prefixColorCode + teamName + " " + player.getName() + " §8» §7" + message);
|
Bukkit.broadcastMessage(prefixColorCode + teamName + " " + player.getName() + " §8» §7" + message);
|
||||||
}
|
}
|
||||||
}else{
|
}else{
|
||||||
Bukkit.broadcastMessage("§7" + player.getName() + " §8» §7" + message);
|
Bukkit.broadcastMessage("§7" + player.getName() + " §8» §7" + message.substring(1));
|
||||||
}
|
}
|
||||||
|
|
||||||
event.setCancelled(true);
|
event.setCancelled(true);
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren