mirror of
https://github.com/Anuken/Mindustry.git
synced 2026-01-25 22:12:16 -08:00
Add group to UnitBlock
This commit is contained in:
parent
afe3b0d111
commit
e6f60505e6
2 changed files with 2 additions and 2 deletions
|
|
@ -10,6 +10,7 @@ import mindustry.gen.*;
|
|||
import mindustry.world.*;
|
||||
import mindustry.world.blocks.payloads.*;
|
||||
import mindustry.world.blocks.production.*;
|
||||
import mindustry.world.meta.*;
|
||||
|
||||
import static mindustry.Vars.*;
|
||||
|
||||
|
|
@ -17,7 +18,7 @@ public class UnitBlock extends PayloadAcceptor{
|
|||
|
||||
public UnitBlock(String name){
|
||||
super(name);
|
||||
|
||||
group = BlockGroup.units;
|
||||
outputsPayload = true;
|
||||
rotate = true;
|
||||
update = true;
|
||||
|
|
|
|||
|
|
@ -29,7 +29,6 @@ public class UnitFactory extends UnitBlock{
|
|||
|
||||
public UnitFactory(String name){
|
||||
super(name);
|
||||
group = BlockGroup.units;
|
||||
update = true;
|
||||
hasPower = true;
|
||||
hasItems = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue