From de1f432be404f9e21bb0cb324e5b5fa7c88b0a38 Mon Sep 17 00:00:00 2001 From: Shaun Bennett Date: Sun, 3 May 2015 18:31:56 -0500 Subject: [PATCH] Build bug fixes --- .../src/nautilus/game/arcade/game/games/build/Build.java | 1 + .../game/arcade/game/games/build/gui/page/GroundPage.java | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/game/games/build/Build.java b/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/game/games/build/Build.java index 66c7c9a95..f69a34e64 100644 --- a/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/game/games/build/Build.java +++ b/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/game/games/build/Build.java @@ -1255,6 +1255,7 @@ public class Build extends SoloGame if (e.equals(event.getRightClicked())) { _mobShop.attemptShopOpen(player, buildData, e); + event.setCancelled(true); return; } } diff --git a/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/game/games/build/gui/page/GroundPage.java b/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/game/games/build/gui/page/GroundPage.java index f9e55a23c..bd4a56350 100644 --- a/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/game/games/build/gui/page/GroundPage.java +++ b/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/game/games/build/gui/page/GroundPage.java @@ -38,7 +38,7 @@ public class GroundPage extends ShopPageBase 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; buildPage(); } @@ -69,7 +69,7 @@ public class GroundPage extends ShopPageBase 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 public void onClick(Player player, ClickType clickType)