From 10b3a828b12dd95a511053ba37c165f26966cb7c Mon Sep 17 00:00:00 2001 From: Martin Prokoph Date: Sun, 16 Mar 2025 11:38:24 +0100 Subject: [PATCH] fix: crash with certain mods that add wood types --- .../eu/midnightdust/motschen/decorative/init/LogsWithAxes.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/eu/midnightdust/motschen/decorative/init/LogsWithAxes.java b/src/main/java/eu/midnightdust/motschen/decorative/init/LogsWithAxes.java index 19eae40..2c050da 100755 --- a/src/main/java/eu/midnightdust/motschen/decorative/init/LogsWithAxes.java +++ b/src/main/java/eu/midnightdust/motschen/decorative/init/LogsWithAxes.java @@ -18,6 +18,7 @@ public class LogsWithAxes { public static void init() { WoodType.stream().forEach(woodType -> { String logName = woodType.name() + "_"; + if (logName.contains(":")) return; if (woodType.soundType() == BlockSoundGroup.NETHER_WOOD) logName += "stem"; else if (woodType.soundType() == BlockSoundGroup.BAMBOO_WOOD) logName += "block"; else logName += "log";