Add item settings (#1)

This commit is contained in:
Juuxel 2019-01-05 21:05:04 +02:00 committed by Shadowfacts
parent fd737cfd23
commit 6206c437b9
1 changed files with 5 additions and 2 deletions

View File

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