diff --git a/build.gradle.kts b/build.gradle.kts index b1209da3..9a2754b3 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -9,7 +9,7 @@ plugins { val langVersion: Int = 17 group = "com.dre.brewery" -version = "3.3.3" +version = "3.3.4" repositories { mavenCentral() diff --git a/src/main/java/com/dre/brewery/lore/BrewLore.java b/src/main/java/com/dre/brewery/lore/BrewLore.java index 59a969c5..b43f3d40 100644 --- a/src/main/java/com/dre/brewery/lore/BrewLore.java +++ b/src/main/java/com/dre/brewery/lore/BrewLore.java @@ -44,7 +44,7 @@ public PotionMeta write() { if (lineAddedOrRem) { updateSpacer(); } - meta.setLore(BUtil.color(lore)); + meta.setLore(BUtil.color(lore, "&9")); return meta; } diff --git a/src/main/java/com/dre/brewery/lore/LoreSaveStream.java b/src/main/java/com/dre/brewery/lore/LoreSaveStream.java index 019c13cc..9dc9986d 100644 --- a/src/main/java/com/dre/brewery/lore/LoreSaveStream.java +++ b/src/main/java/com/dre/brewery/lore/LoreSaveStream.java @@ -70,7 +70,7 @@ public void flush() throws IOException { lore.add(""); } lore.add(line, loreLineBuilder.toString()); - meta.setLore(BUtil.color(lore)); + meta.setLore(BUtil.color(lore, "&9")); } @Override diff --git a/src/main/java/com/dre/brewery/utility/BUtil.java b/src/main/java/com/dre/brewery/utility/BUtil.java index 2869b885..def8083a 100644 --- a/src/main/java/com/dre/brewery/utility/BUtil.java +++ b/src/main/java/com/dre/brewery/utility/BUtil.java @@ -49,8 +49,8 @@ public static boolean isChunkLoaded(Block block) { return block.getWorld().isChunkLoaded(block.getX() >> 4, block.getZ() >> 4); } - public static List color(List list) { - return list.stream().map(BUtil::color).toList(); + public static List color(List list, String prefix) { + return list.stream().map(it -> color(prefix + it)).toList(); } /**