From 31f083387de995401426965c5913cee00439f6c9 Mon Sep 17 00:00:00 2001 From: Shaun Bennett Date: Thu, 26 Nov 2015 23:42:16 -0500 Subject: [PATCH] Use Castle icon on travel page --- .../src/mineplex/game/clans/spawn/travel/TravelPage.java | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/Plugins/Mineplex.Game.Clans/src/mineplex/game/clans/spawn/travel/TravelPage.java b/Plugins/Mineplex.Game.Clans/src/mineplex/game/clans/spawn/travel/TravelPage.java index b5c728711..12b80ad8d 100644 --- a/Plugins/Mineplex.Game.Clans/src/mineplex/game/clans/spawn/travel/TravelPage.java +++ b/Plugins/Mineplex.Game.Clans/src/mineplex/game/clans/spawn/travel/TravelPage.java @@ -21,6 +21,7 @@ import mineplex.core.shop.page.ShopPageBase; import mineplex.game.clans.clans.ClanInfo; import mineplex.game.clans.clans.ClanRole; import mineplex.game.clans.clans.ClansManager; +import mineplex.game.clans.clans.gui.ClanIcon; import mineplex.game.clans.spawn.Spawn; public class TravelPage extends ShopPageBase @@ -55,21 +56,21 @@ public class TravelPage extends ShopPageBase C.cWhite + "as they are Safe Zones.", }, 12 + 8, getPlayer().getLocation().distance(Spawn.getWestSpawn()) <= 64 ? (byte) 3 : (byte) 0); - addTravelLocation(Spawn.getNorthTown(), Material.RECORD_12, C.cDGreenB + "North Shop", new String[] { + addTravelLocation(Spawn.getNorthTown(), ClanIcon.CASTLE.getMaterial(), C.cDGreenB + "North Shop", new String[] { C.cWhite + "Shops are locations where you", C.cWhite + "can buy and sell all sorts of goods.", " ", C.cWhite + "You cannot be attacked here,", C.cWhite + "as they are Safe Zones.", - }, 4); + }, 4, ClanIcon.CASTLE.getData()); - addTravelLocation(Spawn.getSouthTown(), Material.RECORD_12, C.cDGreenB + "South Shop", new String[] { + addTravelLocation(Spawn.getSouthTown(), ClanIcon.CASTLE.getMaterial(), C.cDGreenB + "South Shop", new String[] { C.cWhite + "Shops are locations where you", C.cWhite + "can buy and sell all sorts of goods.", " ", C.cWhite + "You cannot be attacked here,", C.cWhite + "as they are Safe Zones.", - }, 22 + 9 + 9); + }, 22 + 9 + 9, ClanIcon.CASTLE.getData());