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
|
bukkitService.dispatchConsoleCommand(command
|
||||||
.replaceAll("%playername%", player.getName())
|
.replace("%playername%", player.getName())
|
||||||
.replaceAll("%playerip%", ip)
|
.replace("%playerip%", ip)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user