Skip to content

Commit

Permalink
Only load models on client init
Browse files Browse the repository at this point in the history
fixes #126
  • Loading branch information
Beachman4 committed Jul 14, 2023
1 parent d10159d commit a7d51fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/kotlin/com/the9grounds/aeadditions/AEAdditions.kt
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ object AEAdditions {
const val ID = "ae2additions"

init {
Models.init()
Items.REGISTRY.register(MOD_BUS)
Blocks.REGISTRY.register(MOD_BUS)
BlockEntities.REGISTRY.register(MOD_BUS)
Expand Down Expand Up @@ -65,6 +64,7 @@ object AEAdditions {

fun initClient() {
MOD_BUS.addListener(::registerItemColors)
Models.init()
}

private fun clientStuff(event: FMLClientSetupEvent) {
Expand Down

0 comments on commit a7d51fe

Please sign in to comment.