Skip to content

Commit

Permalink
Populate ClasspathCardCatalogue in Entrypoint
Browse files Browse the repository at this point in the history
  • Loading branch information
doombubbles committed Feb 3, 2025
1 parent 216b66e commit 539f8be
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ dependencies {
}

allprojects {
project.version = '0.10.3'
project.version = '0.10.4'
}

subprojects {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
import com.hiddenswitch.framework.rpc.Hiddenswitch;
import io.vertx.core.Vertx;
import io.vertx.core.json.Json;
import net.demilich.metastone.game.cards.catalogues.ClasspathCardCatalogue;

public class EntryPoint {
public static void main(String[] args) {
Expand Down Expand Up @@ -36,6 +37,8 @@ public static void main(String[] args) {
write(configuration, path);
}

ClasspathCardCatalogue.INSTANCE.loadCardsFromPackage();

var application = new Application();
application.deploy()
.onFailure(t -> {
Expand Down

0 comments on commit 539f8be

Please sign in to comment.