From 562cdd371d4d39ed92c058fe00b7e71cf645e808 Mon Sep 17 00:00:00 2001 From: Gugle Date: Mon, 29 Jul 2024 18:28:52 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A7=BB=E9=99=A4=E7=A6=81=E7=94=A8=E5=AE=9E?= =?UTF-8?q?=E9=AA=8C=E6=80=A7=E8=AE=BE=E7=BD=AE=E8=AD=A6=E5=91=8A=EF=BC=8C?= =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=AB=B9=E5=9D=97=E9=85=8D=E6=96=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../skyland/mixin/WorldOpenFlowsMixin.java | 20 ------------------- .../recipes/anvilcraft/bamboo_block.json | 3 +-- 2 files changed, 1 insertion(+), 22 deletions(-) diff --git a/common/src/main/java/net/cjsah/skyland/mixin/WorldOpenFlowsMixin.java b/common/src/main/java/net/cjsah/skyland/mixin/WorldOpenFlowsMixin.java index 0688d17..eecb3bf 100644 --- a/common/src/main/java/net/cjsah/skyland/mixin/WorldOpenFlowsMixin.java +++ b/common/src/main/java/net/cjsah/skyland/mixin/WorldOpenFlowsMixin.java @@ -2,28 +2,8 @@ import net.minecraft.client.gui.screens.worldselection.WorldOpenFlows; import org.spongepowered.asm.mixin.Mixin; -import org.spongepowered.asm.mixin.injection.At; -import org.spongepowered.asm.mixin.injection.ModifyVariable; @Mixin(WorldOpenFlows.class) public class WorldOpenFlowsMixin { - @ModifyVariable( - method = "loadLevel", - at = @At("HEAD"), - argsOnly = true, - index = 4 - ) - private boolean removeAdviceOnLoad(boolean original) { - return false; - } - @ModifyVariable( - method = "confirmWorldCreation", - at = @At("HEAD"), - argsOnly = true, - index = 4 - ) - private static boolean removeAdviceOnCreation(boolean original) { - return true; - } } diff --git a/common/src/main/resources/data/anvilcraft_skyland/recipes/anvilcraft/bamboo_block.json b/common/src/main/resources/data/anvilcraft_skyland/recipes/anvilcraft/bamboo_block.json index e37febc..2be8602 100644 --- a/common/src/main/resources/data/anvilcraft_skyland/recipes/anvilcraft/bamboo_block.json +++ b/common/src/main/resources/data/anvilcraft_skyland/recipes/anvilcraft/bamboo_block.json @@ -7,8 +7,7 @@ } }, "pattern": [ - "#", - "#" + "##" ], "result": { "item": "minecraft:bamboo_planks"