From aee19fe012c0635ae79034f0fef626844fa1e8a8 Mon Sep 17 00:00:00 2001 From: MobiusDevelopment <8391001+MobiusDevelopment@users.noreply.github.com> Date: Sun, 7 Nov 2021 11:44:26 +0000 Subject: [PATCH] Clan warehouse should not be bound with player id. --- .../l2jmobius/gameserver/model/itemcontainer/ClanWarehouse.java | 2 +- .../l2jmobius/gameserver/model/itemcontainer/ClanWarehouse.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/L2J_Mobius_C4_ScionsOfDestiny/java/org/l2jmobius/gameserver/model/itemcontainer/ClanWarehouse.java b/L2J_Mobius_C4_ScionsOfDestiny/java/org/l2jmobius/gameserver/model/itemcontainer/ClanWarehouse.java index a2c7447f17..759b9f0f34 100644 --- a/L2J_Mobius_C4_ScionsOfDestiny/java/org/l2jmobius/gameserver/model/itemcontainer/ClanWarehouse.java +++ b/L2J_Mobius_C4_ScionsOfDestiny/java/org/l2jmobius/gameserver/model/itemcontainer/ClanWarehouse.java @@ -33,7 +33,7 @@ public class ClanWarehouse extends Warehouse @Override public int getOwnerId() { - return _clan.getLeader().getObjectId(); + return _clan.getClanId(); } @Override diff --git a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/itemcontainer/ClanWarehouse.java b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/itemcontainer/ClanWarehouse.java index a2c7447f17..759b9f0f34 100644 --- a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/itemcontainer/ClanWarehouse.java +++ b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/itemcontainer/ClanWarehouse.java @@ -33,7 +33,7 @@ public class ClanWarehouse extends Warehouse @Override public int getOwnerId() { - return _clan.getLeader().getObjectId(); + return _clan.getClanId(); } @Override