Fixed town and nation chat...
This commit is contained in:
parent
93a4521293
commit
42fff2fbca
3 changed files with 2 additions and 2 deletions
Binary file not shown.
|
@ -304,7 +304,7 @@ public class PlayerListener implements Listener { // 2015.07.16.
|
|||
for (Player p : PluginMain.GetPlayers()) {
|
||||
try {
|
||||
if (PluginMain.Instance.TU.getResidentMap()
|
||||
.get(p.getName()).getTown().equals(town))
|
||||
.get(p.getName()).getTown().getName().equals(town.getName()))
|
||||
obj.getScore(p.getName()).setScore(index);
|
||||
} catch (Exception e) {
|
||||
}
|
||||
|
@ -364,7 +364,7 @@ public class PlayerListener implements Listener { // 2015.07.16.
|
|||
for (Player p : PluginMain.GetPlayers()) {
|
||||
try {
|
||||
if (PluginMain.Instance.TU.getResidentMap()
|
||||
.get(p.getName()).getTown().getNation().equals(nation))
|
||||
.get(p.getName()).getTown().getNation().getName().equals(nation.getName()))
|
||||
obj.getScore(p.getName()).setScore(index);
|
||||
} catch (Exception e) {
|
||||
}
|
||||
|
|
Binary file not shown.
Loading…
Reference in a new issue