Remove GlobalSpace, domains and extends methods in Mod

This commit is contained in:
Van
2025-12-01 17:08:56 +03:00
parent ace217832b
commit e44420d0ab
19 changed files with 72 additions and 50 deletions

View File

@@ -1,5 +1,4 @@
local ItemFactory = Mod:new()
local modInfo = Mod.getInfo('smc__core__item_factory')
local require = modInfo.require
ItemFactory.Class = ItemFactory.require('ItemFactory')
Api.addModToGlobalSpace(ItemFactory, 'Core.ItemFactory')
return require('ItemFactory')