From 99c1aa1741cc7bfc9b0db3fadf044c2c0f7b4417 Mon Sep 17 00:00:00 2001 From: Lixfel Date: Fri, 3 Jul 2020 22:06:51 +0200 Subject: [PATCH] Add option to change email + one line distance between selection options Signed-off-by: Lixfel --- src/de/steamwar/bungeecore/commands/CheckCommand.java | 4 +++- src/de/steamwar/bungeecore/commands/WebregisterCommand.java | 3 +++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/de/steamwar/bungeecore/commands/CheckCommand.java b/src/de/steamwar/bungeecore/commands/CheckCommand.java index 34358c1f..ca1fed35 100644 --- a/src/de/steamwar/bungeecore/commands/CheckCommand.java +++ b/src/de/steamwar/bungeecore/commands/CheckCommand.java @@ -235,8 +235,10 @@ public class CheckCommand extends BasicCommand { }else if(ranks.containsKey(schematic.getSchemType())){ next = new TextComponent(); List r = ranks.get(schematic.getSchemType()); - for(int i = 0; i < r.size(); i++) + for(int i = 0; i < r.size(); i++){ BungeeCore.send(checker, "§aRang " + (i+1) + ": " + r.get(i), "§aMit diesem Rang freigeben", new ClickEvent(ClickEvent.Action.RUN_COMMAND, "/check allow " + (i+1))); + BungeeCore.send(checker, ""); + } }else{ next = new TextComponent("accept "); next.setClickEvent(new ClickEvent(ClickEvent.Action.RUN_COMMAND, "/check allow")); diff --git a/src/de/steamwar/bungeecore/commands/WebregisterCommand.java b/src/de/steamwar/bungeecore/commands/WebregisterCommand.java index 0eb502c3..54468f1e 100644 --- a/src/de/steamwar/bungeecore/commands/WebregisterCommand.java +++ b/src/de/steamwar/bungeecore/commands/WebregisterCommand.java @@ -45,6 +45,9 @@ public class WebregisterCommand extends BasicCommand { case "invalid_email": BungeeCore.send(player, BungeeCore.CHAT_PREFIX + "§c[E-Mail], nicht [Freitext]!"); break; + case "email_updated": + BungeeCore.send(player, BungeeCore.CHAT_PREFIX + "§aDeine E-Mail-Adresse wurde aktualisiert."); + break; default: BungeeCore.send(player, BungeeCore.CHAT_PREFIX + "§cEin interner Fehler ist aufgetreten, bitte wende dich an einen Developer."); SWException.log("Bungee", "Unknown Wordpress User Creation Error", errorLine);