Group for unit factory
This commit is contained in:
@@ -29,6 +29,7 @@ public class UnitFactory extends UnitBlock{
|
|||||||
|
|
||||||
public UnitFactory(String name){
|
public UnitFactory(String name){
|
||||||
super(name);
|
super(name);
|
||||||
|
group = BlockGroup.units;
|
||||||
update = true;
|
update = true;
|
||||||
hasPower = true;
|
hasPower = true;
|
||||||
hasItems = true;
|
hasItems = true;
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
package mindustry.world.meta;
|
package mindustry.world.meta;
|
||||||
|
|
||||||
public enum BlockGroup{
|
public enum BlockGroup{
|
||||||
none, walls, turrets, transportation, power, liquids, drills, storage
|
none, walls, turrets, transportation, power, liquids, drills, storage, units
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user