Not stable version
Signed-off-by: Yaruma3341 <yaruma3341@gmail.com>
Dieser Commit ist enthalten in:
Ursprung
1cb8b79f61
Commit
ba981309c6
@ -72,6 +72,7 @@ public class FightSystem extends JavaPlugin {
|
|||||||
plugin = this;
|
plugin = this;
|
||||||
this.fileManager = new FileManager(plugin);
|
this.fileManager = new FileManager(plugin);
|
||||||
this.fightManager = new FightManager();
|
this.fightManager = new FightManager();
|
||||||
|
this.scoreboard = new Scoreboard(plugin);
|
||||||
|
|
||||||
//Load config
|
//Load config
|
||||||
schemsizeX = fileManager.getIntegerFromConfig("Arena.Schemsize.x");
|
schemsizeX = fileManager.getIntegerFromConfig("Arena.Schemsize.x");
|
||||||
|
@ -39,9 +39,9 @@ public class Scoreboard {
|
|||||||
this.PREFIX = FightSystem.getPlugin().getFileManager().getStringFromConfig("Output.TeamRedColor");
|
this.PREFIX = FightSystem.getPlugin().getFileManager().getStringFromConfig("Output.TeamRedColor");
|
||||||
this.NAME = FightSystem.getPlugin().getFileManager().getStringFromConfig("Output.TeamRedName");
|
this.NAME = FightSystem.getPlugin().getFileManager().getStringFromConfig("Output.TeamRedName");
|
||||||
}
|
}
|
||||||
if(getIndexDisplay(index) == Fight.redTeam) {
|
if(getIndexDisplay(index) == Fight.blueTeam) {
|
||||||
this.PREFIX = FightSystem.getPlugin().getFileManager().getStringFromConfig("Output.TeamRedColor");
|
this.PREFIX = FightSystem.getPlugin().getFileManager().getStringFromConfig("Output.TeamBlueColor");
|
||||||
this.NAME = FightSystem.getPlugin().getFileManager().getStringFromConfig("Output.TeamRedName");
|
this.NAME = FightSystem.getPlugin().getFileManager().getStringFromConfig("Output.TeamBlueName");
|
||||||
}
|
}
|
||||||
|
|
||||||
objective.setDisplaySlot(DisplaySlot.SIDEBAR);
|
objective.setDisplaySlot(DisplaySlot.SIDEBAR);
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren