diff --git a/L2J_Mobius_Classic/java/com/l2jmobius/gameserver/model/entity/Hero.java b/L2J_Mobius_Classic/java/com/l2jmobius/gameserver/model/entity/Hero.java index 9016dea8ee..d0c33ad058 100644 --- a/L2J_Mobius_Classic/java/com/l2jmobius/gameserver/model/entity/Hero.java +++ b/L2J_Mobius_Classic/java/com/l2jmobius/gameserver/model/entity/Hero.java @@ -72,7 +72,7 @@ public class Hero private static final String UPDATE_HERO = "UPDATE heroes SET count = ?, played = ?, claimed = ? WHERE charId = ?"; private static final String GET_CLAN_ALLY = "SELECT characters.clanid AS clanid, coalesce(clan_data.ally_Id, 0) AS allyId FROM characters LEFT JOIN clan_data ON clan_data.clan_id = characters.clanid WHERE characters.charId = ?"; // delete hero items - private static final String DELETE_ITEMS = "DELETE FROM items WHERE item_id IN (6842, 6611, 6612, 6613, 6614, 6615, 6616, 6617, 6618, 6619, 6620, 6621, 9388, 9389, 9390) AND owner_id NOT IN (SELECT charId FROM characters WHERE accesslevel > 0)"; + private static final String DELETE_ITEMS = "DELETE FROM items WHERE item_id IN (30392, 30393, 30394, 30395, 30396, 30397, 30398, 30399, 30400, 30401, 30402, 30403, 30404, 30405, 30372, 30373, 6842, 6611, 6612, 6613, 6614, 6615, 6616, 6617, 6618, 6619, 6620, 6621, 9388, 9389, 9390) AND owner_id NOT IN (SELECT charId FROM characters WHERE accesslevel > 0)"; private static final Map _heroes = new ConcurrentHashMap<>(); private static final Map _completeHeroes = new ConcurrentHashMap<>(); diff --git a/L2J_Mobius_Helios/java/com/l2jmobius/gameserver/model/entity/Hero.java b/L2J_Mobius_Helios/java/com/l2jmobius/gameserver/model/entity/Hero.java index 9016dea8ee..d0c33ad058 100644 --- a/L2J_Mobius_Helios/java/com/l2jmobius/gameserver/model/entity/Hero.java +++ b/L2J_Mobius_Helios/java/com/l2jmobius/gameserver/model/entity/Hero.java @@ -72,7 +72,7 @@ public class Hero private static final String UPDATE_HERO = "UPDATE heroes SET count = ?, played = ?, claimed = ? WHERE charId = ?"; private static final String GET_CLAN_ALLY = "SELECT characters.clanid AS clanid, coalesce(clan_data.ally_Id, 0) AS allyId FROM characters LEFT JOIN clan_data ON clan_data.clan_id = characters.clanid WHERE characters.charId = ?"; // delete hero items - private static final String DELETE_ITEMS = "DELETE FROM items WHERE item_id IN (6842, 6611, 6612, 6613, 6614, 6615, 6616, 6617, 6618, 6619, 6620, 6621, 9388, 9389, 9390) AND owner_id NOT IN (SELECT charId FROM characters WHERE accesslevel > 0)"; + private static final String DELETE_ITEMS = "DELETE FROM items WHERE item_id IN (30392, 30393, 30394, 30395, 30396, 30397, 30398, 30399, 30400, 30401, 30402, 30403, 30404, 30405, 30372, 30373, 6842, 6611, 6612, 6613, 6614, 6615, 6616, 6617, 6618, 6619, 6620, 6621, 9388, 9389, 9390) AND owner_id NOT IN (SELECT charId FROM characters WHERE accesslevel > 0)"; private static final Map _heroes = new ConcurrentHashMap<>(); private static final Map _completeHeroes = new ConcurrentHashMap<>(); diff --git a/L2J_Mobius_Underground/java/com/l2jmobius/gameserver/model/entity/Hero.java b/L2J_Mobius_Underground/java/com/l2jmobius/gameserver/model/entity/Hero.java index 9016dea8ee..d0c33ad058 100644 --- a/L2J_Mobius_Underground/java/com/l2jmobius/gameserver/model/entity/Hero.java +++ b/L2J_Mobius_Underground/java/com/l2jmobius/gameserver/model/entity/Hero.java @@ -72,7 +72,7 @@ public class Hero private static final String UPDATE_HERO = "UPDATE heroes SET count = ?, played = ?, claimed = ? WHERE charId = ?"; private static final String GET_CLAN_ALLY = "SELECT characters.clanid AS clanid, coalesce(clan_data.ally_Id, 0) AS allyId FROM characters LEFT JOIN clan_data ON clan_data.clan_id = characters.clanid WHERE characters.charId = ?"; // delete hero items - private static final String DELETE_ITEMS = "DELETE FROM items WHERE item_id IN (6842, 6611, 6612, 6613, 6614, 6615, 6616, 6617, 6618, 6619, 6620, 6621, 9388, 9389, 9390) AND owner_id NOT IN (SELECT charId FROM characters WHERE accesslevel > 0)"; + private static final String DELETE_ITEMS = "DELETE FROM items WHERE item_id IN (30392, 30393, 30394, 30395, 30396, 30397, 30398, 30399, 30400, 30401, 30402, 30403, 30404, 30405, 30372, 30373, 6842, 6611, 6612, 6613, 6614, 6615, 6616, 6617, 6618, 6619, 6620, 6621, 9388, 9389, 9390) AND owner_id NOT IN (SELECT charId FROM characters WHERE accesslevel > 0)"; private static final Map _heroes = new ConcurrentHashMap<>(); private static final Map _completeHeroes = new ConcurrentHashMap<>();