From afe3b0d11173117103418ce078d73840cebb2d8f Mon Sep 17 00:00:00 2001 From: summetdev Date: Sat, 31 Oct 2020 22:30:37 +0300 Subject: [PATCH] Group for unit factory --- core/src/mindustry/world/blocks/units/UnitFactory.java | 1 + core/src/mindustry/world/meta/BlockGroup.java | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/core/src/mindustry/world/blocks/units/UnitFactory.java b/core/src/mindustry/world/blocks/units/UnitFactory.java index f76fd42dfe..32839e4814 100644 --- a/core/src/mindustry/world/blocks/units/UnitFactory.java +++ b/core/src/mindustry/world/blocks/units/UnitFactory.java @@ -29,6 +29,7 @@ public class UnitFactory extends UnitBlock{ public UnitFactory(String name){ super(name); + group = BlockGroup.units; update = true; hasPower = true; hasItems = true; diff --git a/core/src/mindustry/world/meta/BlockGroup.java b/core/src/mindustry/world/meta/BlockGroup.java index 2b3434ccfb..de7591e751 100644 --- a/core/src/mindustry/world/meta/BlockGroup.java +++ b/core/src/mindustry/world/meta/BlockGroup.java @@ -1,5 +1,5 @@ package mindustry.world.meta; public enum BlockGroup{ - none, walls, turrets, transportation, power, liquids, drills, storage + none, walls, turrets, transportation, power, liquids, drills, storage, units }