From 263cd3be38b4464ca1d61fb1a297245e5a8d3a45 Mon Sep 17 00:00:00 2001 From: ProperSAMA <997794945@qq.com> Date: Mon, 29 Jun 2026 14:14:24 +0800 Subject: [PATCH 1/2] =?UTF-8?q?chore:=20=E5=B0=86retrofuturagradle?= =?UTF-8?q?=E7=89=88=E6=9C=AC=E6=9B=B4=E6=96=B0=E8=87=B31.4.1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 解决远端不存在1.4.0,无法顺利构建的问题 --- build.gradle.kts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.gradle.kts b/build.gradle.kts index b5da34a4..d3570b47 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -9,7 +9,7 @@ plugins { id("maven-publish") id("org.jetbrains.gradle.plugin.idea-ext") version "1.1.7" id("eclipse") - id("com.gtnewhorizons.retrofuturagradle") version "1.4.0" + id("com.gtnewhorizons.retrofuturagradle") version "1.4.1" } // Project properties From 947184f55a2f833d2b4f5c5f7c03bf9ba554e683 Mon Sep 17 00:00:00 2001 From: ProperSAMA <997794945@qq.com> Date: Mon, 29 Jun 2026 14:21:07 +0800 Subject: [PATCH 2/2] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E6=9C=BA=E5=99=A8?= =?UTF-8?q?=E7=BB=93=E6=9E=84=E5=88=87=E6=8D=A2=E5=90=8E=E9=85=8D=E6=96=B9?= =?UTF-8?q?=E6=AE=8B=E7=95=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../common/tiles/base/TileMultiblockMachineController.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main/java/hellfirepvp/modularmachinery/common/tiles/base/TileMultiblockMachineController.java b/src/main/java/hellfirepvp/modularmachinery/common/tiles/base/TileMultiblockMachineController.java index bc4e7019..e04b8b4f 100644 --- a/src/main/java/hellfirepvp/modularmachinery/common/tiles/base/TileMultiblockMachineController.java +++ b/src/main/java/hellfirepvp/modularmachinery/common/tiles/base/TileMultiblockMachineController.java @@ -396,7 +396,9 @@ protected void resetMachine(boolean clearData) { } updateStatedMachineComponentSync(false); - prevMachine = foundMachine; + if (foundMachine != null) { + prevMachine = foundMachine; + } foundMachine = null; foundPattern = null; foundReplacements = null;