### Eclipse Workspace Patch 1.0
#P gameserver
Index: java/net/sf/l2j/gameserver/network/clientpackets/RequestPackageSend.java
===================================================================
--- java/net/sf/l2j/gameserver/network/clientpackets/RequestPackageSend.java (revision 70)
+++ java/net/sf/l2j/gameserver/network/clientpackets/RequestPackageSend.java (working copy)
@@ -24,6 +24,7 @@
import net.sf.l2j.Config;
import net.sf.l2j.gameserver.model.ItemContainer;
import net.sf.l2j.gameserver.model.L2ItemInstance;
+import net.sf.l2j.gameserver.model.L2World;
import net.sf.l2j.gameserver.model.PcFreight;
import net.sf.l2j.gameserver.model.actor.L2Npc;
import net.sf.l2j.gameserver.model.actor.instance.L2PcInstance;
@@ -78,6 +79,9 @@
if (player == null)
return;
+ if(L2World.getInstance().getPlayer(_objectID) != null)
+ return;
+
L2PcInstance target = L2PcInstance.load(_objectID);
PcFreight freight = target.getFreight();
getClient().getActiveChar().setActiveWarehouse(freight);
Credits to l2j i guess !
Linkback: https://l2topzone.com/forum/index.php?topic=3004.0