Mod: .getInfo() -> :getInfo()

This commit is contained in:
Van
2026-11-13 17:43:26 +03:00
parent 1e91290b02
commit e540107876
55 changed files with 73 additions and 73 deletions

View File

@@ -1,4 +1,4 @@
local modInfo = Mod.getInfo('smc__ui__player_inventory')
local modInfo = Mod:getInfo('smc__ui__player_inventory')
local require = modInfo.require
return require('PlayerInventoryUI')

View File

@@ -11,7 +11,7 @@ local SmcGetActiveFormspec = Smc.getActiveFormspec
local BaseUI, Formspec = Smc.requireBaseUI(), Smc.requireFormspec()
local modInfo = Mod.getInfo('smc__ui__player_inventory')
local modInfo = Mod:getInfo('smc__ui__player_inventory')
local require = modInfo.require
local loadFile = modInfo.loadFile

View File

@@ -1,4 +1,4 @@
local require = Mod.getInfo('smc__ui__player_inventory').require
local require = Mod:getInfo('smc__ui__player_inventory').require
local getCraftTabTemplate = require('PlayerInventoryUI.baseGetCraftTab')
local CraftSystem = Smc.requireCraftSystem()