forked from noxious/server
Greatly improved server code base
This commit is contained in:
@ -3,6 +3,7 @@ import fs from 'fs'
|
||||
import sharp from 'sharp'
|
||||
import { Server } from 'socket.io'
|
||||
|
||||
import { BaseCommand } from '#application/base/baseCommand'
|
||||
import { CharacterGender, CharacterRace } from '#application/enums'
|
||||
import { getPublicPath } from '#application/storage'
|
||||
import { UUID } from '#application/types'
|
||||
@ -23,9 +24,7 @@ import ZoneRepository from '#repositories/zoneRepository'
|
||||
// @TODO : Replace this with seeding
|
||||
// https://mikro-orm.io/docs/seeding
|
||||
|
||||
export default class InitCommand {
|
||||
constructor(private readonly io: Server) {}
|
||||
|
||||
export default class InitCommand extends BaseCommand {
|
||||
public async execute(): Promise<void> {
|
||||
// Assets
|
||||
await this.importTiles()
|
||||
|
Reference in New Issue
Block a user