From 2daabcd25eaf8c48401195689f99d80d459f9227 Mon Sep 17 00:00:00 2001 From: glisco Date: Mon, 18 Dec 2023 18:48:45 +0100 Subject: [PATCH] declare proper loader dependency for mixin extras, absolutely combust due to implicit mixin behavior changes (genuinely, who in the loader team approved this) --- gradle.properties | 2 +- src/main/java/io/wispforest/owo/config/ui/ConfigScreen.java | 2 +- src/main/java/io/wispforest/owo/mixin/Copenhagen.java | 2 +- src/main/resources/fabric.mod.json | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/gradle.properties b/gradle.properties index 863fabef..914a8e1c 100644 --- a/gradle.properties +++ b/gradle.properties @@ -7,7 +7,7 @@ minecraft_version=1.20.3 yarn_mappings=1.20.3+build.1 loader_version=0.15.0 # Mod Properties -mod_version=0.12.0-pre.3 +mod_version=0.12.0-pre.5 maven_group=io.wispforest archives_base_name=owo-lib # Dependencies diff --git a/src/main/java/io/wispforest/owo/config/ui/ConfigScreen.java b/src/main/java/io/wispforest/owo/config/ui/ConfigScreen.java index 32e97f65..0e002e5c 100644 --- a/src/main/java/io/wispforest/owo/config/ui/ConfigScreen.java +++ b/src/main/java/io/wispforest/owo/config/ui/ConfigScreen.java @@ -196,7 +196,7 @@ protected void build(FlowLayout rootComponent) { .toList()); } - if (this.currentMatches == null || this.currentMatches.matches.isEmpty()) { + if (this.currentMatches.matches.isEmpty()) { matchIndicator.text(Text.translatable("text.owo.config.search.no_matches")); searchField.setEditableColor(0xEB1D36); } else { diff --git a/src/main/java/io/wispforest/owo/mixin/Copenhagen.java b/src/main/java/io/wispforest/owo/mixin/Copenhagen.java index 2653fd39..5803618d 100644 --- a/src/main/java/io/wispforest/owo/mixin/Copenhagen.java +++ b/src/main/java/io/wispforest/owo/mixin/Copenhagen.java @@ -44,7 +44,7 @@ public class Copenhagen { private void malding(StructureWorldAccess world, Random random, OreFeatureConfig config, double startX, double endX, double startZ, double endZ, double startY, double endY, int p_x, int p_y, int p_z, int p_horizontalSize, int p_verticalSize, CallbackInfoReturnable cir, int i, BitSet bitSet, BlockPos.Mutable mutable, int j, double[] ds, ChunkSectionCache chunkSectionCache, int m, double d, double e, - double g, double h, int n, int o, int p, int q, int r, int s, int t, double u, int v, double w, int aa, ChunkSection chunkSection, + double g, double h, int n, int o, int p, int q, int r, int s, int t, double u, int v, double w, int aa, double x, int ab, ChunkSection chunkSection, int ad, int ae, int af, BlockState blockState, Iterator var57, OreFeatureConfig.Target target) { if (!Maldenhagen.isOnCopium(target.state.getBlock())) return; diff --git a/src/main/resources/fabric.mod.json b/src/main/resources/fabric.mod.json index a501cc64..069908e7 100644 --- a/src/main/resources/fabric.mod.json +++ b/src/main/resources/fabric.mod.json @@ -42,7 +42,7 @@ ], "accessWidener": "owo.accesswidener", "depends": { - "fabricloader": "*", + "fabricloader": ">=0.15.0", "fabric": ">=0.76", "minecraft": ">=1.20.2" },