SteamWar/FightSystem
Archiviert
13
1
Signed-off-by: Yaruma3341 <yaruma3341@gmail.com>
Dieser Commit ist enthalten in:
Yaruma3341 2019-04-13 23:22:33 +02:00
Ursprung f16c8d1dcd
Commit 136a6a46a0
2 geänderte Dateien mit 3 neuen und 3 gelöschten Zeilen

Datei anzeigen

@ -174,7 +174,7 @@ public class AkCommand implements CommandExecutor {
if(fightTeam != null) { if(fightTeam != null) {
if(fightTeam.getFightPlayer(player).isLeader()) { if(fightTeam.getFightPlayer(player).isLeader()) {
if(args[0].equalsIgnoreCase("public")) { 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; return false;
} else { } else {
int page; int page;

Datei anzeigen

@ -42,13 +42,13 @@ public class PlayerJoinListener implements Listener {
if (fightTeam == null) { if (fightTeam == null) {
//TEXT COMPONENTS //TEXT COMPONENTS
TextComponent publicList = new TextComponent("public"); TextComponent publicList = new TextComponent("PUBLIC");
publicList.setColor(ChatColor.GOLD); publicList.setColor(ChatColor.GOLD);
publicList.setBold(true); publicList.setBold(true);
publicList.setHoverEvent(new HoverEvent(HoverEvent.Action.SHOW_TEXT, new ComponentBuilder("§ePublic Liste...").create())); publicList.setHoverEvent(new HoverEvent(HoverEvent.Action.SHOW_TEXT, new ComponentBuilder("§ePublic Liste...").create()));
publicList.setClickEvent(new ClickEvent(ClickEvent.Action.RUN_COMMAND, "/ak schemlist public")); 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.setColor(ChatColor.GOLD);
privateList.setBold(true); privateList.setBold(true);
privateList.setHoverEvent(new HoverEvent(HoverEvent.Action.SHOW_TEXT, new ComponentBuilder("§ePrivate Liste...").create())); privateList.setHoverEvent(new HoverEvent(HoverEvent.Action.SHOW_TEXT, new ComponentBuilder("§ePrivate Liste...").create()));