mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-07-30 02:55:28 +02:00
Use full player names instead of partial names
This commit is contained in:
@@ -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:
|
||||||
|
Reference in New Issue
Block a user