Some changes regarding MapGen and other modes
This commit is contained in:
@@ -1,2 +1,2 @@
|
||||
name = smc__core__item
|
||||
depends = smc__api__system, smc__core__enum, smc__core__factory
|
||||
depends = smc__api__api_loader, smc__core__enum, smc__core__factory
|
||||
|
||||
@@ -21,6 +21,7 @@ local Item = {
|
||||
|
||||
---@param itemDef Item.ItemDefinition
|
||||
local function itemDefToLuantiDef(itemDef)
|
||||
---@diagnostic disable-next-line: undefined-field
|
||||
itemDef = table.copy(itemDef)
|
||||
local s = itemDef.settings
|
||||
local c = itemDef.callbacks
|
||||
|
||||
Reference in New Issue
Block a user