From cc7aaae52c9b289765e0fb83183084947091b5a8 Mon Sep 17 00:00:00 2001 From: Anuken Date: Tue, 19 Nov 2019 19:16:35 -0500 Subject: [PATCH] Fixed inverted sorter chains --- .../io/anuke/mindustry/world/blocks/distribution/Sorter.java | 2 +- gradle.properties | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/core/src/io/anuke/mindustry/world/blocks/distribution/Sorter.java b/core/src/io/anuke/mindustry/world/blocks/distribution/Sorter.java index eec9fc1f98..13eb1224e8 100644 --- a/core/src/io/anuke/mindustry/world/blocks/distribution/Sorter.java +++ b/core/src/io/anuke/mindustry/world/blocks/distribution/Sorter.java @@ -85,7 +85,7 @@ public class Sorter extends Block{ } boolean isSame(Tile tile, Tile other){ - return other != null && other.block() instanceof Sorter && other.entity().sortItem == tile.entity().sortItem; + return other != null && other.block() instanceof Sorter; } Tile getTileTarget(Item item, Tile dest, Tile source, boolean flip){ diff --git a/gradle.properties b/gradle.properties index 94fcb680b7..a7d2f776c4 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,3 +1,3 @@ org.gradle.daemon=true org.gradle.jvmargs=-Xms256m -Xmx1024m -archash=685a3d94c8dce72292765fcb492d8e9a7f1fac2a +archash=e9f5ea632c36a9890d6a96c7e9f1cef62ad92b54