Skip to content

Commit

Permalink
Merge branch 'master' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
KasumiNova authored Jun 14, 2024
2 parents 90d5a48 + 8c12bba commit 764a7ca
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ public class StellarCoreEarlyMixinLoader implements IFMLLoadingPlugin {
public static final Logger LOG = LogManager.getLogger("STELLAR_CORE");
public static final String LOG_PREFIX = "[STELLAR_CORE]" + ' ';
private static final Map<String, BooleanSupplier> MIXIN_CONFIGS = new LinkedHashMap<>();

private static boolean mixinInitialized = false;

static {
addMixinCFG("mixins.stellar_core_minecraft_advancements.json", () -> StellarCoreConfig.FEATURES.vanilla.asyncAdvancementSerialize);
Expand Down Expand Up @@ -57,7 +59,7 @@ public String getSetupClass() {

@Override
public void injectData(final Map<String, Object> data) {
MIXIN_CONFIGS.forEach((config, supplier)->{
MIXIN_CONFIGS.forEach((config, supplier) -> {
if (supplier == null) {
LOG.warn(LOG_PREFIX + "Mixin config {} is not found in config map! It will never be loaded.", config);
return;
Expand Down

0 comments on commit 764a7ca

Please # to comment.