fixed turtle output text
This commit is contained in:
parent
98b8465436
commit
0c7280a2f5
@ -31,9 +31,9 @@ class Turtle extends CLIAppBase {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
private function checkAvailable(): Bool {
|
private function checkAvailable():Bool {
|
||||||
if (!kernel.turtle.Turtle.isTurtle()){
|
if (!kernel.turtle.Turtle.isTurtle()) {
|
||||||
handle.write("No turtle attached");
|
handle.write("This is not a turtle!");
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
|
Loading…
Reference in New Issue
Block a user