fix: relay wear amputation
This commit is contained in:
@@ -115,7 +115,7 @@ function ItemsController.Player.SpawnAmputationItem(playerObj, limbName)
|
||||
---@cast clothingItem InventoryItem
|
||||
clothingItem:getVisual():setTextureChoice(texId) -- it counts from 0, so we have to subtract 1
|
||||
sendAddItemToContainer(playerObj:getInventory(), clothingItem)
|
||||
sendServerCommand(CommandsData.modules.TOC_RELAY, CommandsData.client.Relay.ReceiveWearAmputation, {itemName = itemName, texId = texId})
|
||||
sendServerCommand(playerObj, CommandsData.modules.TOC_RELAY, CommandsData.client.Relay.ReceiveWearAmputation, {itemName = itemName, texId = texId})
|
||||
end
|
||||
|
||||
---Search through worn items and modifies a specific amputation item
|
||||
|
||||
Reference in New Issue
Block a user