From 17eeb2d69f1817cad5d6470ac985433a6691086b Mon Sep 17 00:00:00 2001 From: yoyosource Date: Thu, 13 May 2021 16:35:53 +0200 Subject: [PATCH] Fix Permission multilingual --- BauSystem_Main/src/de/steamwar/bausystem/Permission.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/BauSystem_Main/src/de/steamwar/bausystem/Permission.java b/BauSystem_Main/src/de/steamwar/bausystem/Permission.java index baef60e8..b5f3ce77 100644 --- a/BauSystem_Main/src/de/steamwar/bausystem/Permission.java +++ b/BauSystem_Main/src/de/steamwar/bausystem/Permission.java @@ -69,9 +69,9 @@ public enum Permission { Player targetPlayer = Bukkit.getPlayer(SteamwarUser.get(target.getMemberID()).getUUID()); if (targetPlayer != null) { if (ableTo) { - BauSystem.MESSAGE.send("PERMISSION_CHANGE_OTHER_ENABLE", player, player.getName(), what); + BauSystem.MESSAGE.send("PERMISSION_CHANGE_OTHER_ENABLE", targetPlayer, player.getName(), what); } else { - BauSystem.MESSAGE.send("PERMISSION_CHANGE_OTHER_DISABLE", player, player.getName(), what); + BauSystem.MESSAGE.send("PERMISSION_CHANGE_OTHER_DISABLE", targetPlayer, player.getName(), what); } } if (ableTo) {