Some changes regarding MapGen and other modes

This commit is contained in:
2025-09-26 06:42:53 +07:00
parent bb530451d5
commit 330a847888
15 changed files with 56 additions and 28 deletions

View File

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