use of net.runelite.rs.api.RSName in project runelite by runelite.
the class RSPlayerMixin method getName.
@Inject
@Override
public String getName() {
final RSName rsName = getRsName();
if (rsName == null) {
return null;
}
String name = rsName.getName();
if (name == null) {
return null;
}
return name.replace('\u00A0', ' ');
}