Skip to content
Browse files

Use full player names instead of partial names

  • Loading branch information...
1 parent 7d8888d commit d7782935318048edb295449051bcf6bd8d8d1969 @TfT-02 TfT-02 committed Mar 27, 2013
View
2 src/main/java/com/gmail/nossr50/commands/McabilityCommand.java
@@ -53,7 +53,7 @@ public boolean onCommand(CommandSender sender, Command command, String label, St
}
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:
View
2 src/main/java/com/gmail/nossr50/commands/McgodCommand.java
@@ -53,7 +53,7 @@ public boolean onCommand(CommandSender sender, Command command, String label, St
}
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:

0 comments on commit d778293

Please sign in to comment.
Something went wrong with that request. Please try again.