Minor - use replace instead of replaceAll for non-regex replacements
This commit is contained in:
parent
41b6c34b6b
commit
7185206718
@ -269,8 +269,8 @@ public class AsynchronousLogin implements AsynchronousProcess {
|
||||
}
|
||||
|
||||
bukkitService.dispatchConsoleCommand(command
|
||||
.replaceAll("%playername%", player.getName())
|
||||
.replaceAll("%playerip%", ip)
|
||||
.replace("%playername%", player.getName())
|
||||
.replace("%playerip%", ip)
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user