Use Castle icon on travel page

This commit is contained in:
Shaun Bennett 2015-11-26 23:42:16 -05:00
parent faaa1fcf0b
commit 31f083387d

View File

@ -21,6 +21,7 @@ import mineplex.core.shop.page.ShopPageBase;
import mineplex.game.clans.clans.ClanInfo; import mineplex.game.clans.clans.ClanInfo;
import mineplex.game.clans.clans.ClanRole; import mineplex.game.clans.clans.ClanRole;
import mineplex.game.clans.clans.ClansManager; import mineplex.game.clans.clans.ClansManager;
import mineplex.game.clans.clans.gui.ClanIcon;
import mineplex.game.clans.spawn.Spawn; import mineplex.game.clans.spawn.Spawn;
public class TravelPage extends ShopPageBase<ClansManager, TravelShop> public class TravelPage extends ShopPageBase<ClansManager, TravelShop>
@ -55,21 +56,21 @@ public class TravelPage extends ShopPageBase<ClansManager, TravelShop>
C.cWhite + "as they are Safe Zones.", C.cWhite + "as they are Safe Zones.",
}, 12 + 8, getPlayer().getLocation().distance(Spawn.getWestSpawn()) <= 64 ? (byte) 3 : (byte) 0); }, 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 + "Shops are locations where you",
C.cWhite + "can buy and sell all sorts of goods.", C.cWhite + "can buy and sell all sorts of goods.",
" ", " ",
C.cWhite + "You cannot be attacked here,", C.cWhite + "You cannot be attacked here,",
C.cWhite + "as they are Safe Zones.", 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 + "Shops are locations where you",
C.cWhite + "can buy and sell all sorts of goods.", C.cWhite + "can buy and sell all sorts of goods.",
" ", " ",
C.cWhite + "You cannot be attacked here,", C.cWhite + "You cannot be attacked here,",
C.cWhite + "as they are Safe Zones.", C.cWhite + "as they are Safe Zones.",
}, 22 + 9 + 9); }, 22 + 9 + 9, ClanIcon.CASTLE.getData());