SteamWar/BauSystem2.0
Archiviert
12
0

Fix Permission multilingual

Dieser Commit ist enthalten in:
yoyosource 2021-05-13 16:35:53 +02:00
Ursprung 94c5b40b55
Commit 17eeb2d69f

Datei anzeigen

@ -69,9 +69,9 @@ public enum Permission {
Player targetPlayer = Bukkit.getPlayer(SteamwarUser.get(target.getMemberID()).getUUID()); Player targetPlayer = Bukkit.getPlayer(SteamwarUser.get(target.getMemberID()).getUUID());
if (targetPlayer != null) { if (targetPlayer != null) {
if (ableTo) { 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 { } 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) { if (ableTo) {