From c93a49add2b553d2e4f3ce7c85ce7953f721b134 Mon Sep 17 00:00:00 2001 From: Chiss Date: Sat, 9 Aug 2014 13:42:29 +1000 Subject: [PATCH] More gem boosty! --- .../src/nautilus/game/arcade/managers/GameLobbyManager.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/managers/GameLobbyManager.java b/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/managers/GameLobbyManager.java index 48a6bee18..950f9edac 100644 --- a/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/managers/GameLobbyManager.java +++ b/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/managers/GameLobbyManager.java @@ -1143,9 +1143,11 @@ public class GameLobbyManager implements IPacketRunnable, Listener player.getInventory().setItem( 7, - ItemStackFactory.Instance.CreateStack(Material.EMERALD, (byte) 0, boosters, (short) 0, C.cGreen + ItemStackFactory.Instance.CreateStack(Material.EMERALD, (byte) 0, Math.max(1, boosters), (short) 0, C.cGreen + boosters + " Gem Boosters" + - (Manager.GetGame().GemBoosters.size() < 4 && boosters > 0 ? C.cWhite + " - " + C.cYellow + "Click for " + C.cGreen + (100-Manager.GetGame().GemBoosters.size()*25) + "%" + C.cYellow + " Boost" : ""), + (Manager.GetGame().GemBoosters.size() < 4 && boosters > 0 ? + C.cWhite + " - " + C.cYellow + "Click for " + C.cGreen + (100-Manager.GetGame().GemBoosters.size()*25) + "%" + C.cYellow + " Boost" : + C.cWhite + " - " + C.cRed + "Purchase Gem Boosters in the Hub"), new String[] { C.cYellow + "Click for " + C.cGreen + (100-Manager.GetGame().GemBoosters.size()*25) + "%" + C.cYellow + " Boost",