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 Item = Mod:new()
local modInfo = Mod.getInfo('smc__core__item')
local require = modInfo.require
Item.Class = Item.require('Item')
Api.addModToGlobalSpace(Item, 'Core.Item')
return require('Item')