Correction de bug de la commande /me

This commit is contained in:
Marc Baloup 2014-12-24 19:18:12 +01:00
parent 0e00b9f660
commit 452da3bce8

View File

@ -22,6 +22,8 @@ public class CommandMe implements CommandExecutor {
@Override
public boolean onCommand(CommandSender sender, Command cmd, String label, String[] args) {
if (args.length == 0) return false;
String name;
if (sender instanceof Player)
name = ((Player)sender).getDisplayName()+ChatColor.RESET+" "+ChatColor.ITALIC;