SteamWar/BauSystem2.0
Archiviert
12
0

Fix BauScoreboard
Alle Prüfungen waren erfolgreich
SteamWarCI Build successful

Signed-off-by: yoyosource <yoyosource@nidido.de>
Dieser Commit ist enthalten in:
yoyosource 2021-10-01 20:28:43 +02:00
Ursprung 7d9c4cc4fe
Commit 9666d1e61c

Datei anzeigen

@ -42,7 +42,7 @@ public class BauScoreboard implements Listener {
public String getTitle() {
//
Region region = Region.getRegion(player.getLocation());
if (GlobalRegion.getInstance() != region) {
if (GlobalRegion.getInstance() == region) {
return "§eSteam§8War";
}
String colorCode = BauSystem.MESSAGE.parse(region.get(Flag.COLOR).getChatValue(), player).substring(0, 2);
@ -74,7 +74,6 @@ public class BauScoreboard implements Listener {
}
strings.add("§3");
StringBuilder st = new StringBuilder();
st.append(colorCode).append(BauSystem.MESSAGE.parse("SCOREBOARD_TRACE", p)).append("§8: ").append(BauSystem.MESSAGE.parse(RecordStateMachine.getRecordStatus().getName(), p));
if (RecordStateMachine.getRecordStatus().isTracing()) {