diff --git a/src/main/java/com/songoda/epicbuckets/util/InventoryHelper.java b/src/main/java/com/songoda/epicbuckets/util/InventoryHelper.java index 738e58a..8b8fada 100644 --- a/src/main/java/com/songoda/epicbuckets/util/InventoryHelper.java +++ b/src/main/java/com/songoda/epicbuckets/util/InventoryHelper.java @@ -47,8 +47,8 @@ public class InventoryHelper { List newLore = new ArrayList<>(); lore.forEach(s -> { String line = s; - if (line.contains("%price%")) line.replace("%price%", subShop.getPrice() + ""); - if (line.contains("%material%")) line.replace("%material%", subShop.getType().parseMaterial().name()); + if (line.contains("%price%")) line = line.replace("%price%", subShop.getPrice() + ""); + if (line.contains("%material%")) line = line.replace("%material%", subShop.getType().parseMaterial().name()); newLore.add(ChatColor.translateAlternateColorCodes('&', line)); }); im.setLore(newLore);