From a487a7bd2f054a8a6e461978b03e7ea196e0789e Mon Sep 17 00:00:00 2001 From: MagicBot Date: Fri, 20 Oct 2023 09:41:24 -0400 Subject: [PATCH] Removed duplicate and unused code --- src/engine/objects/Guild.java | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/src/engine/objects/Guild.java b/src/engine/objects/Guild.java index 8bb733d7..9ea566e4 100644 --- a/src/engine/objects/Guild.java +++ b/src/engine/objects/Guild.java @@ -59,8 +59,6 @@ public class Guild extends AbstractWorldObject { private int cityUUID = 0; private int mineTime; private ArrayList banishList; - private ArrayList characterKOSList; - private ArrayList guildKOSList; private ArrayList allyList = new ArrayList<>(); private ArrayList enemyList = new ArrayList<>(); private ArrayList recommendList = new ArrayList<>(); @@ -83,8 +81,6 @@ public class Guild extends AbstractWorldObject { this.leadershipType = leadershipType; this.banishList = new ArrayList<>(); - this.characterKOSList = new ArrayList<>(); - this.guildKOSList = new ArrayList<>(); this.allyList = new ArrayList<>(); this.enemyList = new ArrayList<>(); this.subGuildList = new ArrayList<>(); @@ -115,8 +111,6 @@ public class Guild extends AbstractWorldObject { this.leadershipType = leadershipType; this.banishList = new ArrayList<>(); - this.characterKOSList = new ArrayList<>(); - this.guildKOSList = new ArrayList<>(); this.allyList = new ArrayList<>(); this.enemyList = 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. //possible runAfterLoad being called twice?!?! - + 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.enemyList.clear();