Destroy item instance instead of id for collection register.
This commit is contained in:
@@ -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));
|
||||
|
||||
|
Reference in New Issue
Block a user