Fix annotation MapPosition -> MapVector
This commit is contained in:
@@ -284,7 +284,7 @@ end
|
||||
---@type table<string, string[]>
|
||||
PlayerInventoryUI.ActiveNodeForms = {}
|
||||
|
||||
---@param nodePos MapPosition
|
||||
---@param nodePos MapVector
|
||||
function PlayerInventoryUI:addActiveNodeForm(nodePos, playerName)
|
||||
local stringPos = core.pos_to_string(nodePos)
|
||||
local playerNames = self.ActiveNodeForms[stringPos]
|
||||
@@ -295,7 +295,7 @@ function PlayerInventoryUI:addActiveNodeForm(nodePos, playerName)
|
||||
end
|
||||
end
|
||||
|
||||
---@param nodePos MapPosition
|
||||
---@param nodePos MapVector
|
||||
function PlayerInventoryUI:updateNodeForm(nodePos)
|
||||
local stringPos = core.pos_to_string(nodePos)
|
||||
local playerNames = self.ActiveNodeForms[stringPos]
|
||||
@@ -311,7 +311,7 @@ function PlayerInventoryUI:updateNodeForm(nodePos)
|
||||
end
|
||||
end
|
||||
|
||||
---@param nodePos MapPosition
|
||||
---@param nodePos MapVector
|
||||
function PlayerInventoryUI:removeActiveNodeForm(nodePos, playerName)
|
||||
local stringPos = core.pos_to_string(nodePos)
|
||||
local playerNames = self.ActiveNodeForms[stringPos]
|
||||
|
||||
Reference in New Issue
Block a user