mirror of
https://github.com/StarWishsama/Slimefun4.git
synced 2024-09-20 11:45:51 +00:00
Fixed ChestTerminal Lore
This commit is contained in:
parent
0c76e1978f
commit
f9f4648303
@ -401,9 +401,9 @@ public class CargoNet {
|
|||||||
ItemMeta im = stack.getItemMeta();
|
ItemMeta im = stack.getItemMeta();
|
||||||
List<String> lore = new ArrayList<String>();
|
List<String> lore = new ArrayList<String>();
|
||||||
lore.add("");
|
lore.add("");
|
||||||
lore.add("&7Stored Items: &r" + DoubleHandler.getFancyDouble(item.getAmount()));
|
lore.add(ChatColor.translateAlternateColorCodes("&7Stored Items: &r" + DoubleHandler.getFancyDouble(item.getAmount())));
|
||||||
if (stack.getMaxStackSize() > 1) lore.add("&7<Left Click: Request 1 | Right Click: Request " + (item.getAmount() > stack.getMaxStackSize() ? stack.getMaxStackSize(): item.getAmount()) + ">");
|
if (stack.getMaxStackSize() > 1) lore.add(ChatColor.translateAlternateColorCodes("&7<Left Click: Request 1 | Right Click: Request " + (item.getAmount() > stack.getMaxStackSize() ? stack.getMaxStackSize(): item.getAmount()) + ">"));
|
||||||
else lore.add("&7<Left Click: Request 1>");
|
else lore.add(ChatColor.translateAlternateColorCodes("&7<Left Click: Request 1>"));
|
||||||
lore.add("");
|
lore.add("");
|
||||||
if (im.hasLore()) {
|
if (im.hasLore()) {
|
||||||
for (String line: im.getLore()) {
|
for (String line: im.getLore()) {
|
||||||
|
Loading…
Reference in New Issue
Block a user