EmmyLua -> LuaLS

This commit is contained in:
Van
2026-06-16 17:50:09 +03:00
parent 5272c8e5a8
commit 24531f8af6
5 changed files with 64 additions and 40 deletions

View File

@@ -622,23 +622,23 @@ local NodeDefinition = {
--- Called after the actual action has happened, according to what was
--- allowed.
--- No return value.
--- @type (fun(pos:MapPosition, from_list:string, from_index:number, to_list:string, to_index:number, count:number, player:Player): void)?
--- @type (fun(pos:MapPosition, from_list:string, from_index:number, to_list:string, to_index:number, count:number, player:Player): any)?
on_metadata_inventory_move = nil,
--- Called after the actual action has happened, according to what was
--- allowed.
--- No return value.
--- @type (fun(pos:MapPosition, listname:string, index:number, stack:ItemStack, player:Player): void)?
--- @type (fun(pos:MapPosition, listname:string, index:number, stack:ItemStack, player:Player): any)?
on_metadata_inventory_put = nil,
--- Called after the actual action has happened, according to what was
--- allowed.
--- No return value.
--- @type (fun(pos:MapPosition, listname:string, index:number, stack:ItemStack, player:Player): void)?
--- @type (fun(pos:MapPosition, listname:string, index:number, stack:ItemStack, player:Player): any)?
on_metadata_inventory_take = nil,
--- intensity: 1.0 = mid range of regular TNT.
--- If defined, called when an explosion touches the node, instead of
--- removing the node.
--- @type (fun(pos:MapPosition, intensity:number): void)?
--- @type (fun(pos:MapPosition, intensity:number): any)?
on_blast = nil,
--- stores which mod actually registered a node