Build bug fixes
This commit is contained in:
parent
74474c6227
commit
de1f432be4
@ -1255,6 +1255,7 @@ public class Build extends SoloGame
|
|||||||
if (e.equals(event.getRightClicked()))
|
if (e.equals(event.getRightClicked()))
|
||||||
{
|
{
|
||||||
_mobShop.attemptShopOpen(player, buildData, e);
|
_mobShop.attemptShopOpen(player, buildData, e);
|
||||||
|
event.setCancelled(true);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -38,7 +38,7 @@ public class GroundPage extends ShopPageBase<ArcadeManager, OptionsShop>
|
|||||||
|
|
||||||
public GroundPage(Build game, ArcadeManager plugin, OptionsShop shop, CoreClientManager clientManager, DonationManager donationManager, Player player)
|
public GroundPage(Build game, ArcadeManager plugin, OptionsShop shop, CoreClientManager clientManager, DonationManager donationManager, Player player)
|
||||||
{
|
{
|
||||||
super(plugin, shop, clientManager, donationManager, "Change Ground", player);
|
super(plugin, shop, clientManager, donationManager, "Change Ground", player, 9 * 4);
|
||||||
_game = game;
|
_game = game;
|
||||||
buildPage();
|
buildPage();
|
||||||
}
|
}
|
||||||
@ -69,7 +69,7 @@ public class GroundPage extends ShopPageBase<ArcadeManager, OptionsShop>
|
|||||||
index++;
|
index++;
|
||||||
}
|
}
|
||||||
|
|
||||||
addButton((9 * 5) + 4, new ShopItem(Material.BED, C.cGray + " \u21FD Go Back", new String[]{}, 1, false), new IButton()
|
addButton((9 * 3) + 4, new ShopItem(Material.BED, C.cGray + " \u21FD Go Back", new String[]{}, 1, false), new IButton()
|
||||||
{
|
{
|
||||||
@Override
|
@Override
|
||||||
public void onClick(Player player, ClickType clickType)
|
public void onClick(Player player, ClickType clickType)
|
||||||
|
Loading…
Reference in New Issue
Block a user