fix(ConditionObjet): evaluer() did not return in default case

This commit is contained in:
Laureηt 2021-12-01 08:27:40 +01:00
parent 2b4b5433b7
commit de11a5a2be
No known key found for this signature in database
GPG key ID: D88C6B294FD40994

View file

@ -33,7 +33,7 @@ public class ConditionObjet implements ConditionTest {
} else if (this.operateur.equals("!=")) { } else if (this.operateur.equals("!=")) {
return compteur != nombre; return compteur != nombre;
} else { } else {
System.out.println("dafuk"); throw new Error("dafuk");
} }
} }
} }