Add sensing of reconstructor config

This commit is contained in:
Anuken
2021-10-16 10:22:20 -04:00
parent 902f3695ee
commit bd329f57d6
3 changed files with 14 additions and 2 deletions

View File

@@ -185,6 +185,12 @@ public class Reconstructor extends UnitBlock{
Draw.rect(topRegion, x, y);
}
@Override
public Object senseObject(LAccess sensor){
if(sensor == LAccess.config) return unit();
return super.senseObject(sensor);
}
@Override
public void updateTile(){
boolean valid = false;