From 511950b76625c76e7d0be1a7d55f9ac27348c275 Mon Sep 17 00:00:00 2001 From: simibubi <31564874+simibubi@users.noreply.github.com> Date: Wed, 13 Jan 2021 18:28:29 +0100 Subject: [PATCH 1/2] Hotfix the fix - More safety for the minecart controller capability - Blaze burners now support comparators --- .../train/capability/CapabilityMinecartController.java | 10 +++++++--- .../processing/burner/BlazeBurnerBlock.java | 10 ++++++++++ .../processing/burner/LitBlazeBurnerBlock.java | 10 ++++++++++ 3 files changed, 27 insertions(+), 3 deletions(-) diff --git a/src/main/java/com/simibubi/create/content/contraptions/components/structureMovement/train/capability/CapabilityMinecartController.java b/src/main/java/com/simibubi/create/content/contraptions/components/structureMovement/train/capability/CapabilityMinecartController.java index d26c72d35..71a4b390f 100644 --- a/src/main/java/com/simibubi/create/content/contraptions/components/structureMovement/train/capability/CapabilityMinecartController.java +++ b/src/main/java/com/simibubi/create/content/contraptions/components/structureMovement/train/capability/CapabilityMinecartController.java @@ -102,9 +102,11 @@ public class CapabilityMinecartController implements ICapabilitySerializable carts = loadedMinecartsByUUID.get(event.getWorld()); for (MinecartController minecartController : carts.values()) { + if (minecartController == null) + continue; if (!minecartController.isPresent()) continue; AbstractMinecartEntity cart = minecartController.cart(); diff --git a/src/main/java/com/simibubi/create/content/contraptions/processing/burner/BlazeBurnerBlock.java b/src/main/java/com/simibubi/create/content/contraptions/processing/burner/BlazeBurnerBlock.java index 4f91a76bb..c19b07dd3 100644 --- a/src/main/java/com/simibubi/create/content/contraptions/processing/burner/BlazeBurnerBlock.java +++ b/src/main/java/com/simibubi/create/content/contraptions/processing/burner/BlazeBurnerBlock.java @@ -216,6 +216,16 @@ public class BlazeBurnerBlock extends Block implements ITE Date: Wed, 13 Jan 2021 18:29:57 +0100 Subject: [PATCH 2/2] version++ --- gradle.properties | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gradle.properties b/gradle.properties index db85230e3..999263025 100644 --- a/gradle.properties +++ b/gradle.properties @@ -4,7 +4,7 @@ org.gradle.jvmargs=-Xmx3G org.gradle.daemon=false # mod version info -mod_version=0.3d +mod_version=0.3e minecraft_version=1.15.2 forge_version=31.2.31