Send the message to the correct place

This commit is contained in:
Business Goose 2022-03-28 17:55:08 +01:00
parent 44416be1c3
commit 7830831111
No known key found for this signature in database
GPG key ID: 77DCA801362E9645

View file

@ -9,7 +9,7 @@ import org.bukkit.entity.Player;
public class Command_whoami extends FreedomCommand {
@Override
public boolean run(CommandSender sender, Player sender_p, Command cmd, String commandLabel, String[] args, boolean senderIsConsole) {
playerMsg(PlayerRank.fromSender(sender).name());
playerMsg(sender, PlayerRank.fromSender(sender).name());
return true;
}
}