From dfe58b6c0a34f0865ad74a864d3c94df8230a7d5 Mon Sep 17 00:00:00 2001 From: rlf Date: Wed, 15 Aug 2018 02:12:14 +0200 Subject: [PATCH] Add description to Issue #1082 even while uncertain of block-count --- .../java/us/talabrek/ultimateskyblock/island/LimitLogic.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/uSkyBlock-Core/src/main/java/us/talabrek/ultimateskyblock/island/LimitLogic.java b/uSkyBlock-Core/src/main/java/us/talabrek/ultimateskyblock/island/LimitLogic.java index 5e8ad431c..29e2d520b 100644 --- a/uSkyBlock-Core/src/main/java/us/talabrek/ultimateskyblock/island/LimitLogic.java +++ b/uSkyBlock-Core/src/main/java/us/talabrek/ultimateskyblock/island/LimitLogic.java @@ -148,6 +148,11 @@ public String getSummary(us.talabrek.ultimateskyblock.api.IslandInfo islandInfo) ItemStackUtil.getItemName(new ItemStack(entry.getKey())), blockCount >= entry.getValue() ? tr("\u00a7c{0}", blockCount) : blockCount, entry.getValue()) + "\n"); + } else { + sb.append(tr("\u00a77{0}: \u00a7a{1}\u00a77 (max. {2})", + ItemStackUtil.getItemName(new ItemStack(entry.getKey())), + tr("\u00a7c{0}", "?"), + entry.getValue()) + "\n"); } } return sb.toString().trim();