Reuse lore code

This commit is contained in:
themode 2021-03-31 16:58:07 +02:00
parent 308dbe0fdb
commit cba09e6a26

View File

@ -27,16 +27,15 @@ public class ItemBuilder {
return this;
}
public ItemBuilder lore(Component... lore) {
this.lore = Arrays.asList(lore);
return this;
}
public ItemBuilder lore(List<Component> lore) {
this.lore = Collections.unmodifiableList(lore);
return this;
}
public ItemBuilder lore(Component... lore) {
return lore(Arrays.asList(lore));
}
@NotNull
public Item build() {
return null; // TODO