SystemMessage method addZoneName does not need conversion to string.
This commit is contained in:
@@ -65,7 +65,7 @@ public class RankingPowerManager
|
|||||||
createClone(player);
|
createClone(player);
|
||||||
cloneTask();
|
cloneTask();
|
||||||
final SystemMessage msg = new SystemMessage(SystemMessageId.IN_C1_SERVER_S2_NO_1_CHARACTER_USED_RANKING_POWER);
|
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());
|
msg.addString(player.getName());
|
||||||
Broadcast.toAllOnlinePlayers(msg);
|
Broadcast.toAllOnlinePlayers(msg);
|
||||||
}
|
}
|
||||||
|
@@ -66,7 +66,7 @@ public class RankingPowerManager
|
|||||||
cloneTask();
|
cloneTask();
|
||||||
final SystemMessage msg = new SystemMessage(SystemMessageId.A_RANKING_LEADER_C1_USED_LEADER_POWER_IN_S2);
|
final SystemMessage msg = new SystemMessage(SystemMessageId.A_RANKING_LEADER_C1_USED_LEADER_POWER_IN_S2);
|
||||||
msg.addString(player.getName());
|
msg.addString(player.getName());
|
||||||
msg.addZoneName(location.getX(), location.getY(), location.getZ()).toString();
|
msg.addZoneName(location.getX(), location.getY(), location.getZ());
|
||||||
Broadcast.toAllOnlinePlayers(msg);
|
Broadcast.toAllOnlinePlayers(msg);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -66,7 +66,7 @@ public class RankingPowerManager
|
|||||||
cloneTask();
|
cloneTask();
|
||||||
final SystemMessage msg = new SystemMessage(SystemMessageId.A_RANKING_LEADER_C1_USED_LEADER_POWER_IN_S2);
|
final SystemMessage msg = new SystemMessage(SystemMessageId.A_RANKING_LEADER_C1_USED_LEADER_POWER_IN_S2);
|
||||||
msg.addString(player.getName());
|
msg.addString(player.getName());
|
||||||
msg.addZoneName(location.getX(), location.getY(), location.getZ()).toString();
|
msg.addZoneName(location.getX(), location.getY(), location.getZ());
|
||||||
Broadcast.toAllOnlinePlayers(msg);
|
Broadcast.toAllOnlinePlayers(msg);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user