Przeglądaj źródła

Telnet give item Fix - tnx pompinis

nBd 16 lat temu
rodzic
commit
0151fe4d5d

+ 1 - 1
L2_GameServer/java/net/sf/l2j/gameserver/model/PcInventory.java

@@ -334,7 +334,7 @@ public class PcInventory extends Inventory
 
     	if (item != null && item.getItemId() == ANCIENT_ADENA_ID && !item.equals(_ancientAdena))
     		_ancientAdena = item;
-    	if (item != null)
+    	if (item != null && actor != null)
     	{
 			// Send inventory update packet
 			if (!Config.FORCE_INVENTORY_UPDATE)