Add group to UnitBlock
This commit is contained in:
@@ -10,6 +10,7 @@ import mindustry.gen.*;
|
|||||||
import mindustry.world.*;
|
import mindustry.world.*;
|
||||||
import mindustry.world.blocks.payloads.*;
|
import mindustry.world.blocks.payloads.*;
|
||||||
import mindustry.world.blocks.production.*;
|
import mindustry.world.blocks.production.*;
|
||||||
|
import mindustry.world.meta.*;
|
||||||
|
|
||||||
import static mindustry.Vars.*;
|
import static mindustry.Vars.*;
|
||||||
|
|
||||||
@@ -17,7 +18,7 @@ public class UnitBlock extends PayloadAcceptor{
|
|||||||
|
|
||||||
public UnitBlock(String name){
|
public UnitBlock(String name){
|
||||||
super(name);
|
super(name);
|
||||||
|
group = BlockGroup.units;
|
||||||
outputsPayload = true;
|
outputsPayload = true;
|
||||||
rotate = true;
|
rotate = true;
|
||||||
update = true;
|
update = true;
|
||||||
|
|||||||
@@ -29,7 +29,6 @@ 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;
|
||||||
|
|||||||
Reference in New Issue
Block a user