mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-25 22:56:45 +01:00
Send message to correct player
This commit is contained in:
parent
2a471e409c
commit
447ce97f24
@ -65,7 +65,7 @@ public class XprateCommand implements TabExecutor {
|
||||
senderName = ((Player) sender).getDisplayName();
|
||||
}
|
||||
|
||||
sender.sendMessage(LocaleLoader.getString("XPRate.AdminDetails.End", senderName));
|
||||
player.sendMessage(LocaleLoader.getString("XPRate.AdminDetails.End", senderName));
|
||||
}
|
||||
}
|
||||
|
||||
@ -133,7 +133,7 @@ public class XprateCommand implements TabExecutor {
|
||||
senderName = ((Player) sender).getDisplayName();
|
||||
}
|
||||
|
||||
sender.sendMessage(LocaleLoader.getString("XPRate.AdminDetails.Start", senderName, newXpRate));
|
||||
player.sendMessage(LocaleLoader.getString("XPRate.AdminDetails.Start", senderName, newXpRate));
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user