New collection created in handled and loaded from db
This commit is contained in:
@@ -1175,17 +1175,17 @@ public class MobAI {
|
||||
|
||||
//target is listed individually
|
||||
|
||||
if (entry.getValue().getPlayerUID() == target.getObjectUUID() && entry.getValue().isActive())
|
||||
if (entry.getValue().playerUID == target.getObjectUUID() && entry.getValue().active)
|
||||
return false;
|
||||
|
||||
//target's guild is listed
|
||||
|
||||
if (Guild.getGuild(entry.getValue().getGuildUID()) == target.getGuild())
|
||||
if (Guild.getGuild(entry.getValue().guildUID) == target.getGuild())
|
||||
return false;
|
||||
|
||||
//target's nation is listed
|
||||
|
||||
if (Guild.getGuild(entry.getValue().getGuildUID()) == target.getGuild().getNation())
|
||||
if (Guild.getGuild(entry.getValue().guildUID) == target.getGuild().getNation())
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
@@ -1197,17 +1197,17 @@ public class MobAI {
|
||||
|
||||
//target is listed individually
|
||||
|
||||
if (entry.getValue().getPlayerUID() == target.getObjectUUID() && entry.getValue().isActive())
|
||||
if (entry.getValue().playerUID == target.getObjectUUID() && entry.getValue().active)
|
||||
return true;
|
||||
|
||||
//target's guild is listed
|
||||
|
||||
if (Guild.getGuild(entry.getValue().getGuildUID()) == target.getGuild())
|
||||
if (Guild.getGuild(entry.getValue().guildUID) == target.getGuild())
|
||||
return true;
|
||||
|
||||
//target's nation is listed
|
||||
|
||||
if (Guild.getGuild(entry.getValue().getGuildUID()) == target.getGuild().getNation())
|
||||
if (Guild.getGuild(entry.getValue().guildUID) == target.getGuild().getNation())
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user