From a38177a8e8be456b239730c8f5e0ffd7e4e32154 Mon Sep 17 00:00:00 2001 From: ASangarin Date: Mon, 13 Jun 2022 23:06:39 +0200 Subject: [PATCH] setLore method in LoreBuilder --- .../net/Indyuce/mmoitems/api/item/build/LoreBuilder.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/main/java/net/Indyuce/mmoitems/api/item/build/LoreBuilder.java b/src/main/java/net/Indyuce/mmoitems/api/item/build/LoreBuilder.java index 1c975b1b..3fa99243 100644 --- a/src/main/java/net/Indyuce/mmoitems/api/item/build/LoreBuilder.java +++ b/src/main/java/net/Indyuce/mmoitems/api/item/build/LoreBuilder.java @@ -206,4 +206,9 @@ public class LoreBuilder { public List getLore() { return lore; } + + public void setLore(List lore) { + this.lore.clear(); + this.lore.addAll(lore); + } }