From 9970266d90a854cda7f8867ea8c4095dab2e4e92 Mon Sep 17 00:00:00 2001 From: Chaoscaot Date: Sat, 16 Jan 2021 18:36:19 +0100 Subject: [PATCH] Fix Ban Changed --- src/de/steamwar/bungeecore/sql/Punishment.java | 3 ++- src/de/steamwar/messages/BungeeCore.properties | 2 -- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/de/steamwar/bungeecore/sql/Punishment.java b/src/de/steamwar/bungeecore/sql/Punishment.java index 0e47e053..2e14a2a9 100644 --- a/src/de/steamwar/bungeecore/sql/Punishment.java +++ b/src/de/steamwar/bungeecore/sql/Punishment.java @@ -120,7 +120,8 @@ public class Punishment { public void updateEndTime(int from, String newreason, Timestamp newUpdate, boolean perma) { ProxiedPlayer player = BungeeCore.get().getProxy().getPlayer(SteamwarUser.get(from).getUuid()); - String newReason = Message.parse("BAN_CHANGED", player, SteamwarUser.get(from).getUserName(), + String newReason = Message.parse("BAN_CHANGED", player, reason, + SteamwarUser.get(from).getUserName(), getBantime(endTime, this.perma), getBantime(newUpdate, perma), newreason); diff --git a/src/de/steamwar/messages/BungeeCore.properties b/src/de/steamwar/messages/BungeeCore.properties index 84877033..f61d1eac 100644 --- a/src/de/steamwar/messages/BungeeCore.properties +++ b/src/de/steamwar/messages/BungeeCore.properties @@ -121,8 +121,6 @@ BAN_AVOIDING_ALERT=§cMögliche Bannumgehung durch §r{0}§c: §c BAN_AVOIDING_LIST={0} §e{1} §c BAN_AVOIDING_BAN_HOVER=§cBanne Spieler wegen Bannumgehung -MUTE_MESSAGE_YOU=§7Du hast §e{0} §7gemutet§8. §7Grund§8: §c{1} - BUG_MESSAGE=§7Dein Bugreport wurde gespeichert. IGNORE_YOURSELF=§cWie willst du dich selber ignorieren?