All tests passing

This commit is contained in:
Cooldude2606 committed 2023-09-07 20:54:21 +01:00
1 parent 2c9050824e
commit 2afddafe4d
7 files changed
+138 -96

No files matched your search

+8
View File
@@ -259,6 +259,10 @@ export class ModPackUpdateEvent {
static fromJSON(json: Static<typeof this.jsonSchema>) {
return new this(ModPack.fromJSON(json.modPack));
}
get subscriptionChannel() {
return this.modPack.id;
}
}
export class ModUpdateEvent {
@@ -279,4 +283,8 @@ export class ModUpdateEvent {
static fromJSON(json: Static<typeof this.jsonSchema>) {
return new this(ModInfo.fromJSON(json.mod));
}
get subscriptionChannel() {
return this.mod.name;
}
}