mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-23 05:36: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();
|
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;
|
return true;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
|
@ -53,7 +53,7 @@ public class McgodCommand implements CommandExecutor {
|
|||||||
}
|
}
|
||||||
|
|
||||||
toggleGodMode();
|
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;
|
return true;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
|
Loading…
Reference in New Issue
Block a user