EmmyLua -> LuaLS

This commit is contained in:
Van
2026-06-16 17:50:29 +03:00
parent 60003eea73
commit 1799d6d32e
37 changed files with 135 additions and 314 deletions

View File

@@ -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')