mirror of
https://github.com/UnlegitDqrk/Potato.git
synced 2025-10-01 22:30:14 +02:00
Fix glaring condiment omission
This commit is contained in:
@@ -40,7 +40,7 @@ public class Potato implements Tuber {
|
|||||||
*/
|
*/
|
||||||
public void prepare() throws NotDeliciousException {
|
public void prepare() throws NotDeliciousException {
|
||||||
this.addCondiments("sour cream", "chives", "butter", "crumbled bacon", "grated cheese", "ketchup", "pepper",
|
this.addCondiments("sour cream", "chives", "butter", "crumbled bacon", "grated cheese", "ketchup", "pepper",
|
||||||
"salt", "tabasco", "tomatoes");
|
"salt", "tabasco", "tomatoes", "onion");
|
||||||
this.listCondiments();
|
this.listCondiments();
|
||||||
if (!this.isDelicious()) throw new NotDeliciousException(NotDeliciousReason.UNDERCOOKED);
|
if (!this.isDelicious()) throw new NotDeliciousException(NotDeliciousReason.UNDERCOOKED);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user