Changeset 5143


Ignore:
Timestamp:
Jan 20, 2012 1:51:14 PM (4 months ago)
Author:
Nik
Message:

BETA: Do not restore items that already exist in OID map. Now you will have less OID spams in your console :)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/unstable/L2J_Server_BETA/java/com/l2jserver/gameserver/model/itemcontainer/Inventory.java

    r5138 r5143  
    15861586                        while (inv.next()) 
    15871587                        { 
     1588                                // Check if that item already exists in OID map. 
     1589                                if (L2World.getInstance().findObject(inv.getInt("object_id")) != null) 
     1590                                        continue; 
     1591                                 
    15881592                                item = L2ItemInstance.restoreFromDb(getOwnerId(), inv); 
    15891593                                 
Note: See TracChangeset for help on using the changeset viewer.