diff --git a/src/me/badbones69/crazyauctions/controlers/GUI.java b/src/me/badbones69/crazyauctions/controlers/GUI.java index 509c31d..aae7f81 100644 --- a/src/me/badbones69/crazyauctions/controlers/GUI.java +++ b/src/me/badbones69/crazyauctions/controlers/GUI.java @@ -71,7 +71,7 @@ public class GUI implements Listener { }else { if(sell == ShopType.SELL) { for(String l : config.getStringList("Settings.GUISettings.SellingItemLore")) { - lore.add(l.replaceAll("%Price%", Methods.getPrice(i, false)).replaceAll("%price%", Methods.getPrice(i, false)).replaceAll("%Seller%", data.getString("Items." + i + ".Seller")).replaceAll("%seller%", data.getString("Items." + i + ".Seller"))); + lore.add(l.replaceAll("%Price%", String.format(Locale.ENGLISH, "%,d", Long.parseLong(Methods.getPrice(i, false)))).replaceAll("%price%", String.format(Locale.ENGLISH, "%,d", Long.parseLong(Methods.getPrice(i, false)))).replaceAll("%Seller%", data.getString("Items." + i + ".Seller")).replaceAll("%seller%", data.getString("Items." + i + ".Seller"))); } items.add(Methods.addLore(data.getItemStack("Items." + i + ".Item").clone(), lore)); ID.add(data.getInt("Items." + i + ".StoreID")); @@ -986,4 +986,4 @@ public class GUI implements Listener { } } -} \ No newline at end of file +}