The void you need to change is Redeemcredits() which is located in HabboHotel/Users/Inventory/InventoryComponent.cs
The whole function for deleting the item and giving currency is already there. Simply, make a check if it's for credits or diamonds and then give out the correct currency.