diff --git a/Plugins/Mineplex.StaffServer/src/mineplex/staffServer/ui/rank/SupportRankBonusPage.java b/Plugins/Mineplex.StaffServer/src/mineplex/staffServer/ui/rank/SupportRankBonusPage.java index 2307bfe0e..c90a58cf4 100644 --- a/Plugins/Mineplex.StaffServer/src/mineplex/staffServer/ui/rank/SupportRankBonusPage.java +++ b/Plugins/Mineplex.StaffServer/src/mineplex/staffServer/ui/rank/SupportRankBonusPage.java @@ -50,9 +50,14 @@ public class SupportRankBonusPage extends SupportPage private ItemStack getLogIcon() { - int entries = 6; + int entries = Math.min(6, getBonusLog().size()); ItemBuilder builder = new ItemBuilder(Material.SIGN).setTitle(C.cGreenB + "Last " + entries + " Entries").addLore(""); + if (entries == 0) + { + builder.addLore(C.mBody + "No entries to display."); + } + for (int i = 0; i < entries; i++) { BonusEntry entry = getBonusLog().get(i);