diff --git a/src/main/java/de/btegermany/terraplusminus/commands/TpllCommand.java b/src/main/java/de/btegermany/terraplusminus/commands/TpllCommand.java index a6830c3..573922b 100644 --- a/src/main/java/de/btegermany/terraplusminus/commands/TpllCommand.java +++ b/src/main/java/de/btegermany/terraplusminus/commands/TpllCommand.java @@ -52,7 +52,7 @@ public boolean onCommand(@NotNull CommandSender commandSender, @NotNull Command // detect if command starts with @ or with a player name - if ((args[0].startsWith("@") || !isDouble(args[0].replace(",", ""))) && player.hasPermission("t+-.forcetpll")) { + if ((args[0].startsWith("@") || !isDouble(args[0].replace(",", "").replace("°", ""))) && player.hasPermission("t+-.forcetpll")) { if (args[0].equals("@a")) { StringBuilder playerList = new StringBuilder(); Terraplusminus.instance.getServer().getOnlinePlayers().forEach(p -> {