SystemMessage method addZoneName does not need conversion to string.

This commit is contained in:
MobiusDevelopment 2022-09-21 10:08:15 +00:00
parent 596851c7e8
commit 364ac41e47
3 changed files with 3 additions and 3 deletions

View File

@ -65,7 +65,7 @@ public class RankingPowerManager
createClone(player);
cloneTask();
final SystemMessage msg = new SystemMessage(SystemMessageId.IN_C1_SERVER_S2_NO_1_CHARACTER_USED_RANKING_POWER);
msg.addZoneName(location.getX(), location.getY(), location.getZ()).toString();
msg.addZoneName(location.getX(), location.getY(), location.getZ());
msg.addString(player.getName());
Broadcast.toAllOnlinePlayers(msg);
}

View File

@ -66,7 +66,7 @@ public class RankingPowerManager
cloneTask();
final SystemMessage msg = new SystemMessage(SystemMessageId.A_RANKING_LEADER_C1_USED_LEADER_POWER_IN_S2);
msg.addString(player.getName());
msg.addZoneName(location.getX(), location.getY(), location.getZ()).toString();
msg.addZoneName(location.getX(), location.getY(), location.getZ());
Broadcast.toAllOnlinePlayers(msg);
}

View File

@ -66,7 +66,7 @@ public class RankingPowerManager
cloneTask();
final SystemMessage msg = new SystemMessage(SystemMessageId.A_RANKING_LEADER_C1_USED_LEADER_POWER_IN_S2);
msg.addString(player.getName());
msg.addZoneName(location.getX(), location.getY(), location.getZ()).toString();
msg.addZoneName(location.getX(), location.getY(), location.getZ());
Broadcast.toAllOnlinePlayers(msg);
}