Example #1
0
        public override void StartServerSide(ICoreServerAPI api)
        {
            this.api = api;

            if (api.ModLoader.IsModSystemEnabled("Vintagestory.ServerMods.WorldEdit.WorldEdit"))
            {
                RegisterUtil.RegisterTool(api.ModLoader.GetModSystem("Vintagestory.ServerMods.WorldEdit.WorldEdit"));
            }
        }
Example #2
0
        public override void StartServerSide(ICoreServerAPI api)
        {
            this.api = api;

            if (api.IsModAvailable("Vintagestory.ServerMods.WorldEdit.WorldEdit"))
            {
                RegisterUtil.RegisterTool(api.GetMod("Vintagestory.ServerMods.WorldEdit.WorldEdit"));
            }
        }