mirror of
https://github.com/webbukkit/dynmap.git
synced 2025-02-20 05:52:32 +01:00
Don't send personalised information to sender
This commit is contained in:
parent
1a151468ec
commit
17c5af35e4
@ -207,7 +207,7 @@ public class WebAuthManager {
|
||||
sender.sendMessage("Enter username and registration code when prompted on web page (" + publicRegistrationURL.toString() + ") to complete registration");
|
||||
if(other) {
|
||||
DynmapPlayer p = core.getServer().getPlayer(uid);
|
||||
if(p != null) {
|
||||
if(p != null && sender != p) {
|
||||
p.sendMessage("The registration of your account for web access has been started.");
|
||||
p.sendMessage("To complete the process, access the Login page on the Dynmap map");
|
||||
p.sendMessage("Registration code: " + regkey);
|
||||
|
Loading…
Reference in New Issue
Block a user