This commit is contained in:
Anuken 2023-04-21 21:24:18 -04:00
parent 9cc392a9ed
commit 13297023fe

View File

@ -70,6 +70,12 @@ public class LightBlock extends Block{
super.control(type, p1, p2, p3, p4);
}
@Override
public double sense(LAccess sensor){
if(sensor == LAccess.color) return Tmp.c1.set(color).toDoubleBits();
return super.sense(sensor);
}
@Override
public void draw(){
super.draw();