EmmyLua -> LuaLS
This commit is contained in:
@@ -62,7 +62,7 @@ function ProcessingStation:new(def, nodesDef)
|
||||
callbacks.on_rightclick = function(pos, node, clicker, itemstack, pointed_thing)
|
||||
oldCallback(pos, node, clicker, itemstack, pointed_thing)
|
||||
|
||||
instance:showForm(pos, clicker)
|
||||
instance:showForm(pos, clicker --[[@as Player]])
|
||||
end
|
||||
|
||||
oldCallback = callbacks.on_metadata_inventory_move or function(...) end
|
||||
@@ -170,8 +170,7 @@ local tab = function(self, playerName, tabType)
|
||||
local pos = self:getContex(playerName, 'node_tab_pos')
|
||||
local inventoryLocation = ('nodemeta:%s,%s,%s'):format(pos.x, pos.y, pos.z)
|
||||
|
||||
---@type ProcessingStation.MetaData
|
||||
local meta = core.get_meta(pos)
|
||||
local meta = core.get_meta(pos) --[[@as ProcessingStation.MetaData]]
|
||||
|
||||
form
|
||||
:image(0, 0, 11, 9, 'player_inventory_tab_background.png')
|
||||
|
||||
Reference in New Issue
Block a user