mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-22 21:26:46 +01:00
Use full player names instead of partial names
This commit is contained in:
parent
7d8888d47d
commit
d778293531
@ -53,7 +53,7 @@ public class McabilityCommand implements CommandExecutor {
|
||||
}
|
||||
|
||||
toggleAbilityUse();
|
||||
sender.sendMessage("Ability use has been toggled for" + args[0]); // TODO: Localize
|
||||
sender.sendMessage("Ability use has been toggled for " + player.getName()); // TODO: Localize
|
||||
return true;
|
||||
|
||||
default:
|
||||
|
@ -53,7 +53,7 @@ public class McgodCommand implements CommandExecutor {
|
||||
}
|
||||
|
||||
toggleGodMode();
|
||||
sender.sendMessage("God mode has been toggled for" + args[0]); // TODO: Localize
|
||||
sender.sendMessage("God mode has been toggled for " + player.getName()); // TODO: Localize
|
||||
return true;
|
||||
|
||||
default:
|
||||
|
Loading…
Reference in New Issue
Block a user