All pastes #46896 Raw Edit

Untitled

public text v1 · immutable
#46896 ·published 2006-03-25 01:36 UTC
rendered paste body
Index: C:/workspace/c4/java/net/sf/l2j/gameserver/model/PcInventory.java
===================================================================
--- C:/workspace/c4/java/net/sf/l2j/gameserver/model/PcInventory.java	(revision 1654)
+++ C:/workspace/c4/java/net/sf/l2j/gameserver/model/PcInventory.java	(working copy)
@@ -274,6 +274,7 @@
         if(item.equals(getOwner().getActiveEnchantItem()))
         	getOwner().setActiveEnchantItem(null);
         
+        if (item.getItemId()==57) _adena=null;
         super.removeItem(item);
     }