From 37b95dcb5cbc582e3664dfd3c4452d308ce0493e Mon Sep 17 00:00:00 2001 From: Smartin Date: Mon, 27 Nov 2023 19:37:02 +0100 Subject: [PATCH] - material atlas fixes for 500+ materials --- common/src/main/java/smartin/armory/Armory.java | 4 +--- fabric/src/main/resources/fabric.mod.json | 6 +++++- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/common/src/main/java/smartin/armory/Armory.java b/common/src/main/java/smartin/armory/Armory.java index 903be83..43247fd 100644 --- a/common/src/main/java/smartin/armory/Armory.java +++ b/common/src/main/java/smartin/armory/Armory.java @@ -7,8 +7,6 @@ public class Armory public static final String MOD_ID = "armory"; public static void init() { - LifecycleEvent.SETUP.register(()->{ - new GenerateArmorModularConverter(); - }); + LifecycleEvent.SETUP.register(()-> new GenerateArmorModularConverter()); } } \ No newline at end of file diff --git a/fabric/src/main/resources/fabric.mod.json b/fabric/src/main/resources/fabric.mod.json index b24a707..aabc622 100644 --- a/fabric/src/main/resources/fabric.mod.json +++ b/fabric/src/main/resources/fabric.mod.json @@ -12,7 +12,11 @@ "icon": "icon.png", "environment": "*", - "entrypoints": {}, + "entrypoints": { + "main": [ + "smartin.armory.fabric.ArmoryFabric" + ] + }, "mixins": [ "armory.mixins.json", "armory-common.mixins.json"