Skip to content

Commit

Permalink
Merge pull request #16 from FTBTeam/1.20.1/dev
Browse files Browse the repository at this point in the history
1.20.1/dev
  • Loading branch information
desht authored Apr 12, 2024
2 parents 34a8aaf + 3996a20 commit a97888d
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [2.1.1]

### Fixed
* Hopefully fixed some init crashes by moving cross-mod init code to a later phase during mod loading

## [2.1.0]

### Added
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package dev.ftb.mods.ftbxmodcompat;

import dev.architectury.event.events.common.LifecycleEvent;
import dev.architectury.platform.Platform;
import dev.ftb.mods.ftblibrary.snbt.config.ConfigUtil;
import dev.ftb.mods.ftbxmodcompat.config.FTBXModConfig;
Expand Down Expand Up @@ -35,6 +36,10 @@ public static void init() {

ConfigUtil.loadDefaulted(FTBXModConfig.CONFIG, ConfigUtil.CONFIG_DIR, MOD_ID);

LifecycleEvent.SETUP.register(FTBXModCompat::onSetup);
}

private static void onSetup() {
StagesSetup.init();
PermissionsSetup.init();
if (isFTBQuestsLoaded) {
Expand Down
4 changes: 2 additions & 2 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
org.gradle.jvmargs=-Xmx2048M
org.gradle.jvmargs=-Xmx3172M

minecraft_version=1.20.1
enabled_platforms=fabric,forge

archives_base_name=ftb-xmod-compat
mod_version=2.1.0
mod_version=2.1.1
maven_group=dev.ftb.mods
curseforge_id=889915

Expand Down

0 comments on commit a97888d

Please sign in to comment.