First try at updating command system to be like TC. Still needs alot of testing/work
This commit is contained in:
@@ -64,7 +64,7 @@ namespace Game
|
||||
tradeItem.GiftCreator = item.GetGiftCreator();
|
||||
if (!item.IsWrapped())
|
||||
{
|
||||
tradeItem.Unwrapped.HasValue = true;
|
||||
tradeItem.Unwrapped.Value = new();
|
||||
TradeUpdated.UnwrappedTradeItem unwrappedItem = tradeItem.Unwrapped.Value;
|
||||
unwrappedItem.EnchantID = (int)item.GetEnchantmentId(EnchantmentSlot.Perm);
|
||||
unwrappedItem.OnUseEnchantmentID = (int)item.GetEnchantmentId(EnchantmentSlot.Use);
|
||||
|
||||
Reference in New Issue
Block a user