File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -459,8 +459,8 @@ class ScriptTreeGenerator {
459
459
460
460
case 'sensing_coloristouchingcolor' :
461
461
return new IntermediateInput ( InputOpcode . SENSING_COLOR_TOUCHING_COLOR , InputType . BOOLEAN , {
462
- target : this . descendInputOfBlock ( block , 'COLOR2' ) . toType ( InputType . NUMBER ) ,
463
- mask : this . descendInputOfBlock ( block , 'COLOR' ) . toType ( InputType . NUMBER )
462
+ target : this . descendInputOfBlock ( block , 'COLOR2' ) ,
463
+ mask : this . descendInputOfBlock ( block , 'COLOR' )
464
464
} ) ;
465
465
case 'sensing_current' :
466
466
switch ( block . fields . CURRENTMENU . value . toLowerCase ( ) ) {
@@ -868,7 +868,7 @@ class ScriptTreeGenerator {
868
868
} ) ;
869
869
case 'pen_setPenColorToColor' :
870
870
return new IntermediateStackBlock ( StackOpcode . PEN_COLOR_SET , {
871
- color : this . descendInputOfBlock ( block , 'COLOR' ) . toType ( InputType . NUMBER )
871
+ color : this . descendInputOfBlock ( block , 'COLOR' )
872
872
} ) ;
873
873
case 'pen_setPenHueToNumber' :
874
874
return new IntermediateStackBlock ( StackOpcode . PEN_COLOR_HUE_SET_LEGACY , {
You can’t perform that action at this time.
0 commit comments