From 0f43690aafbd286006f9d536cb49e5de63e745a4 Mon Sep 17 00:00:00 2001 From: Anuken Date: Tue, 18 Feb 2020 11:43:06 -0500 Subject: [PATCH] More unlocks? --- core/src/mindustry/world/blocks/production/Separator.java | 1 + core/src/mindustry/world/blocks/production/SolidPump.java | 1 + gradle.properties | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/core/src/mindustry/world/blocks/production/Separator.java b/core/src/mindustry/world/blocks/production/Separator.java index 7361b8f4bb..26d0ae8f46 100644 --- a/core/src/mindustry/world/blocks/production/Separator.java +++ b/core/src/mindustry/world/blocks/production/Separator.java @@ -107,6 +107,7 @@ public class Separator extends Block{ entity.cons.trigger(); if(item != null && entity.items.get(item) < itemCapacity){ + useContent(tile, item); offloadNear(tile, item); } } diff --git a/core/src/mindustry/world/blocks/production/SolidPump.java b/core/src/mindustry/world/blocks/production/SolidPump.java index 13db9f2e2c..d6db8ea3aa 100644 --- a/core/src/mindustry/world/blocks/production/SolidPump.java +++ b/core/src/mindustry/world/blocks/production/SolidPump.java @@ -111,6 +111,7 @@ public class SolidPump extends Pump{ tile.entity.liquids.add(result, maxPump); entity.lastPump = maxPump; entity.warmup = Mathf.lerpDelta(entity.warmup, 1f, 0.02f); + if(tile.entity.timer.get(timerContentCheck, 10)) useContent(tile, result); if(Mathf.chance(entity.delta() * updateEffectChance)) Effects.effect(updateEffect, entity.x + Mathf.range(size * 2f), entity.y + Mathf.range(size * 2f)); }else{ diff --git a/gradle.properties b/gradle.properties index 11145e4c88..dc5c21b2cb 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,3 +1,3 @@ org.gradle.daemon=true org.gradle.jvmargs=-Xms256m -Xmx1024m -archash=d20c0312e740a9845a358fc4571926ad784c0bbc +archash=415c435dc59e9248fdef8362582220d18f9f8e17