Changeset 2286

Show
Ignore:
Timestamp:
07/15/08 19:37:43 (3 months ago)
Author:
DrHouse
Message:

Non droppable items shouldn't be dropped even when dying and karma > 0

Fixes #1285 (quite old), thanks "anonymous"

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/L2_GameServer/java/net/sf/l2j/gameserver/model/actor/instance/L2PcInstance.java

    r2285 r2286  
    48534853                                        if ( 
    48544854                                                        itemDrop.isAugmented() ||                                                                                               // Dont drop augmented items 
    4855                                                         itemDrop.isShadowItem() ||                                                                                              // Dont drop Shadow Items 
    4856                                                         itemDrop.getItemId() == 57 ||                                           // Adena 
     4855                                                        itemDrop.isShadowItem() || // Dont drop Shadow Items 
     4856                                                        itemDrop.isDropable() || 
     4857                                                        itemDrop.getItemId() == 57 || // Adena 
    48574858                                                        itemDrop.getItem().getType2() == L2Item.TYPE2_QUEST ||                  // Quest Items 
    48584859                                                        nonDroppableList.contains(itemDrop.getItemId()) ||                      // Item listed in the non droppable item list