Destroy item instance instead of id for collection register.
This commit is contained in:
parent
bbd2d5b633
commit
953b46758f
@ -84,7 +84,7 @@ public class RequestCollectionRegister implements IClientIncomingPacket
|
||||
return;
|
||||
}
|
||||
|
||||
player.destroyItemByItemId("Collection", item.getId(), count, player, true);
|
||||
player.destroyItem("Collection", item, count, player, true);
|
||||
|
||||
player.sendPacket(new ExCollectionRegister(_collectionId, _index, item));
|
||||
|
||||
|
@ -84,7 +84,7 @@ public class RequestCollectionRegister implements IClientIncomingPacket
|
||||
return;
|
||||
}
|
||||
|
||||
player.destroyItemByItemId("Collection", item.getId(), count, player, true);
|
||||
player.destroyItem("Collection", item, count, player, true);
|
||||
|
||||
player.sendPacket(new ExCollectionRegister(_collectionId, _index, item));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user