forked from MagicBane/Server
Removed duplicate and unused code
This commit is contained in:
@@ -59,8 +59,6 @@ public class Guild extends AbstractWorldObject {
|
|||||||
private int cityUUID = 0;
|
private int cityUUID = 0;
|
||||||
private int mineTime;
|
private int mineTime;
|
||||||
private ArrayList<PlayerCharacter> banishList;
|
private ArrayList<PlayerCharacter> banishList;
|
||||||
private ArrayList<PlayerCharacter> characterKOSList;
|
|
||||||
private ArrayList<Guild> guildKOSList;
|
|
||||||
private ArrayList<Guild> allyList = new ArrayList<>();
|
private ArrayList<Guild> allyList = new ArrayList<>();
|
||||||
private ArrayList<Guild> enemyList = new ArrayList<>();
|
private ArrayList<Guild> enemyList = new ArrayList<>();
|
||||||
private ArrayList<Guild> recommendList = new ArrayList<>();
|
private ArrayList<Guild> recommendList = new ArrayList<>();
|
||||||
@@ -83,8 +81,6 @@ public class Guild extends AbstractWorldObject {
|
|||||||
this.leadershipType = leadershipType;
|
this.leadershipType = leadershipType;
|
||||||
|
|
||||||
this.banishList = new ArrayList<>();
|
this.banishList = new ArrayList<>();
|
||||||
this.characterKOSList = new ArrayList<>();
|
|
||||||
this.guildKOSList = new ArrayList<>();
|
|
||||||
this.allyList = new ArrayList<>();
|
this.allyList = new ArrayList<>();
|
||||||
this.enemyList = new ArrayList<>();
|
this.enemyList = new ArrayList<>();
|
||||||
this.subGuildList = new ArrayList<>();
|
this.subGuildList = new ArrayList<>();
|
||||||
@@ -115,8 +111,6 @@ public class Guild extends AbstractWorldObject {
|
|||||||
this.leadershipType = leadershipType;
|
this.leadershipType = leadershipType;
|
||||||
|
|
||||||
this.banishList = new ArrayList<>();
|
this.banishList = new ArrayList<>();
|
||||||
this.characterKOSList = new ArrayList<>();
|
|
||||||
this.guildKOSList = new ArrayList<>();
|
|
||||||
this.allyList = new ArrayList<>();
|
this.allyList = new ArrayList<>();
|
||||||
this.enemyList = new ArrayList<>();
|
this.enemyList = new ArrayList<>();
|
||||||
this.subGuildList = new ArrayList<>();
|
this.subGuildList = new ArrayList<>();
|
||||||
@@ -869,10 +863,8 @@ public class Guild extends AbstractWorldObject {
|
|||||||
|
|
||||||
//add alliance list, clear all lists as there seems to be a bug where alliances are doubled, need to find where.
|
//add alliance list, clear all lists as there seems to be a bug where alliances are doubled, need to find where.
|
||||||
//possible runAfterLoad being called twice?!?!
|
//possible runAfterLoad being called twice?!?!
|
||||||
|
|
||||||
this.banishList = dbGuildHandler.GET_GUILD_BANISHED(this.getObjectUUID());
|
this.banishList = dbGuildHandler.GET_GUILD_BANISHED(this.getObjectUUID());
|
||||||
this.characterKOSList = DbManager.GuildQueries.GET_GUILD_KOS_CHARACTER(this.getObjectUUID());
|
|
||||||
this.guildKOSList = DbManager.GuildQueries.GET_GUILD_KOS_GUILD(this.getObjectUUID());
|
|
||||||
|
|
||||||
this.allyList.clear();
|
this.allyList.clear();
|
||||||
this.enemyList.clear();
|
this.enemyList.clear();
|
||||||
|
|||||||
Reference in New Issue
Block a user