Add item settings

This commit is contained in:
Juuxel 2019-01-05 21:01:08 +02:00
parent 3351522bd3
commit 60ee445dc6
1 changed files with 5 additions and 2 deletions

View File

@ -25,8 +25,11 @@ public class MultipartItem extends Item {
protected Multipart part;
public MultipartItem(Multipart part) {
// TODO: expose settings object?
super(new Settings());
this(part, new Settings());
}
public MultipartItem(Multipart part, Settings settings) {
super(settings);
this.part = part;
}