hotfix
Signed-off-by: Yaruma3341 <yaruma3341@gmail.com>
Dieser Commit ist enthalten in:
Ursprung
f16c8d1dcd
Commit
136a6a46a0
@ -174,7 +174,7 @@ public class AkCommand implements CommandExecutor {
|
||||
if(fightTeam != null) {
|
||||
if(fightTeam.getFightPlayer(player).isLeader()) {
|
||||
if(args[0].equalsIgnoreCase("public")) {
|
||||
Fight.getPlayerTeam(player).sendPlayerSchematicList(false, Integer.parseInt(args[1]), 15, player, Config.SchematicType);
|
||||
Fight.getPlayerTeam(player).sendPlayerSchematicList(false, 0, 15, player, Config.SchematicType);
|
||||
return false;
|
||||
} else {
|
||||
int page;
|
||||
|
@ -42,13 +42,13 @@ public class PlayerJoinListener implements Listener {
|
||||
if (fightTeam == null) {
|
||||
|
||||
//TEXT COMPONENTS
|
||||
TextComponent publicList = new TextComponent("public");
|
||||
TextComponent publicList = new TextComponent("PUBLIC");
|
||||
publicList.setColor(ChatColor.GOLD);
|
||||
publicList.setBold(true);
|
||||
publicList.setHoverEvent(new HoverEvent(HoverEvent.Action.SHOW_TEXT, new ComponentBuilder("§ePublic Liste...").create()));
|
||||
publicList.setClickEvent(new ClickEvent(ClickEvent.Action.RUN_COMMAND, "/ak schemlist public"));
|
||||
|
||||
TextComponent privateList = new TextComponent("private");
|
||||
TextComponent privateList = new TextComponent("PRIVATE");
|
||||
privateList.setColor(ChatColor.GOLD);
|
||||
privateList.setBold(true);
|
||||
privateList.setHoverEvent(new HoverEvent(HoverEvent.Action.SHOW_TEXT, new ComponentBuilder("§ePrivate Liste...").create()));
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren