mirror of
https://github.com/UnlegitDqrk/Potato.git
synced 2025-10-02 06:30:15 +02:00
@@ -28,8 +28,8 @@ public class Potato implements Tuber {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void addCondiments(String... names) {
|
public void addCondiments(String... names) {
|
||||||
synchronized (this.condiments) {
|
for (String condimentName : names) {
|
||||||
for (String condimentName : names) this.condiments.add(new Condiment(condimentName));
|
this.condiments.add(new Condiment(condimentName));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user