diff --git a/src/main/java/fr/xephi/authme/data/TempbanManager.java b/src/main/java/fr/xephi/authme/data/TempbanManager.java index f29a16d9f..a09212bde 100644 --- a/src/main/java/fr/xephi/authme/data/TempbanManager.java +++ b/src/main/java/fr/xephi/authme/data/TempbanManager.java @@ -109,8 +109,8 @@ public class TempbanManager implements SettingsDependent, HasCleanup { player.kickPlayer(reason); } else { String command = customCommand - .replaceAll("%player%", name) - .replaceAll("%ip%", ip); + .replace("%player%", name) + .replace("%ip%", ip); bukkitService.dispatchConsoleCommand(command); } });