diff --git a/src/me/yaruma/fightsystem/commands/AkCommand.java b/src/me/yaruma/fightsystem/commands/AkCommand.java index 91c51d4..bde5de8 100644 --- a/src/me/yaruma/fightsystem/commands/AkCommand.java +++ b/src/me/yaruma/fightsystem/commands/AkCommand.java @@ -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; diff --git a/src/me/yaruma/fightsystem/listener/PlayerJoinListener.java b/src/me/yaruma/fightsystem/listener/PlayerJoinListener.java index 4b46c68..3c08b53 100644 --- a/src/me/yaruma/fightsystem/listener/PlayerJoinListener.java +++ b/src/me/yaruma/fightsystem/listener/PlayerJoinListener.java @@ -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()));