forked from Apancore.Studio/simple-makes-complex
Fix my bruh
This commit is contained in:
@@ -6,7 +6,7 @@ local modInfo = Mod.getInfo()
|
||||
local Region = modInfo.require("Region")
|
||||
|
||||
---@class MapGen.Region.Region2D : MapGen.Region
|
||||
local Region2D = Api.getClassExtended(Region, {})
|
||||
local Region2D = Mod:getClassExtended(Region, {})
|
||||
|
||||
---@param params table
|
||||
---@return MapGen.Region.Region2D
|
||||
|
||||
@@ -6,7 +6,7 @@ local modInfo = Mod.getInfo()
|
||||
local Region = modInfo.require("Region")
|
||||
|
||||
---@class MapGen.Region.Region3D : MapGen.Region
|
||||
local Region3D = Api.getClassExtended(Region, {})
|
||||
local Region3D = Mod:getClassExtended(Region, {})
|
||||
|
||||
---@param params table
|
||||
---@return MapGen.Region.Region3D
|
||||
|
||||
7
mods/CORE/MapGen/src/init.lua
Normal file
7
mods/CORE/MapGen/src/init.lua
Normal file
@@ -0,0 +1,7 @@
|
||||
local MapGen = Mod:new()
|
||||
local require = MapGen.require
|
||||
|
||||
MapGen.Class = require('MapGen')
|
||||
MapGen.Class:enable()
|
||||
|
||||
Api.addModToGlobalSpace(MapGen, 'Core.MapGen')
|
||||
Reference in New Issue
Block a user