Fixed achievement arcade page size.

This commit is contained in:
Mysticate 2015-09-23 15:43:14 -04:00
parent 71408fabd2
commit 125b823a65
5 changed files with 14 additions and 4 deletions

View File

@ -29,7 +29,12 @@ public class AchievementMainPage extends ShopPageBase<AchievementManager, Achiev
public AchievementMainPage(AchievementManager plugin, StatsManager statsManager, AchievementShop shop, CoreClientManager clientManager, DonationManager donationManager, String name, Player player, Player target)
{
super(plugin, shop, clientManager, donationManager, name, player, 9 * 4);
this(plugin, statsManager, shop, clientManager, donationManager, name, 9 * 4, player, target);
}
public AchievementMainPage(AchievementManager plugin, StatsManager statsManager, AchievementShop shop, CoreClientManager clientManager, DonationManager donationManager, String name, int size, Player player, Player target)
{
super(plugin, shop, clientManager, donationManager, name, player, size);
_target = target;
_statsManager = statsManager;

View File

@ -23,7 +23,9 @@ public class ArcadeMainPage extends AchievementMainPage
{
public ArcadeMainPage(AchievementManager plugin, StatsManager statsManager, AchievementShop shop, CoreClientManager clientManager, DonationManager donationManager, String name, Player player, Player target)
{
super(plugin, statsManager, shop, clientManager, donationManager, name, player, target);
super(plugin, statsManager, shop, clientManager, donationManager, name, 9 * 5, player, target);
}
@Override

View File

@ -274,10 +274,11 @@ public class MonsterMaze extends SoloGame
Scoreboard.Reset();
Scoreboard.WriteBlank();
Scoreboard.Write(C.cYellow + C.Bold + "Players");
if (GetPlayers(true).size() > 6)
{
Scoreboard.Write(C.cYellow + C.Bold + "Players");
Scoreboard.Write(C.cWhite + GetPlayers(true).size());
}

View File

@ -43,5 +43,7 @@ public class KitJumper extends Kit
{
player.getInventory().addItem(ItemStackFactory.Instance.CreateStack(Material.COMPASS, (byte)0, 1,
F.item("Safe Pad Finder")));
player.getInventory().setItem(8, ItemStackFactory.Instance.CreateStack(Material.FEATHER, (byte)0, 5, C.cYellow + C.Bold + 5 + " Jumps Remaining"));
}
}

View File

@ -28,7 +28,7 @@ public class KitSmasher extends Kit
{
new Perk("Smasher", new String[]
{
F.elem("Click") + " to use " + F.skill("Smash"),
F.elem("Click") + " to use " + F.skill("Smash") + ".",
})
{