SteamWar/MissileWars
Archiviert
13
0

Add distribute items on team leave

Dieser Commit ist enthalten in:
zOnlyKroks 2021-04-04 16:40:35 +02:00
Ursprung 43a64c77b6
Commit e2eba79378

Datei anzeigen

@ -62,7 +62,7 @@ public class MWTeam {
this.color = color; this.color = color;
this.spawn = spawn; this.spawn = spawn;
this.portalZ = portalZ; this.portalZ = portalZ;
if (FightScoreboard.getScoreboard().getTeam(teamName) == null) if(FightScoreboard.getScoreboard().getTeam(teamName) == null)
sbteam = FightScoreboard.getScoreboard().registerNewTeam(teamName); sbteam = FightScoreboard.getScoreboard().registerNewTeam(teamName);
else else
sbteam = FightScoreboard.getScoreboard().getTeam(teamName); sbteam = FightScoreboard.getScoreboard().getTeam(teamName);
@ -108,7 +108,7 @@ public class MWTeam {
return portalZ; return portalZ;
} }
public Location getSpawn() { public Location getSpawn(){
return spawn; return spawn;
} }
@ -165,7 +165,7 @@ public class MWTeam {
return MissileWars.getRedTeam(); return MissileWars.getRedTeam();
} }
public String getColorCode() { public String getColorCode(){
return "§" + color.getChar(); return "§" + color.getChar();
} }