Swap cosmetic menu positions of items

This commit is contained in:
Graphica 2017-06-28 18:31:39 -04:00 committed by cnr
parent 1e289271c6
commit 36ec3014bf

View File

@ -74,12 +74,12 @@ public class Menu extends ShopPageBase<CosmeticManager, CosmeticShop>
ShopItem shards = new ShopItem(Material.PRISMARINE_SHARD, C.cAqua + C.Bold + treasureShards + " Treasure Shards", shardLore.toArray(new String[0]), 0, false); ShopItem shards = new ShopItem(Material.PRISMARINE_SHARD, C.cAqua + C.Bold + treasureShards + " Treasure Shards", shardLore.toArray(new String[0]), 0, false);
int deathSlot = 1; int deathSlot = 19;
int jumpSlot = 28; int jumpSlot = 28;
int particleSlot = 10; int particleSlot = 1;
int winEffectSlot = 13; int winEffectSlot = 13;
int shardSlot = 22; int shardSlot = 22;
int arrowSlot = 19; int arrowSlot = 10;
int tauntSlot = 31; int tauntSlot = 31;
int gameModifierSlot = 21; int gameModifierSlot = 21;
int kitSelectorSlot = 23; int kitSelectorSlot = 23;
@ -95,7 +95,7 @@ public class Menu extends ShopPageBase<CosmeticManager, CosmeticShop>
addItem(shardSlot, shards); addItem(shardSlot, shards);
ItemStack pane = new ItemBuilder(Material.STAINED_GLASS_PANE).setData((byte)15).setTitle("").build(); ItemStack pane = new ItemBuilder(Material.STAINED_GLASS_PANE).setData((byte)15).setTitle(C.cBlack).build();
for (int i = 0; i <= 45; i += 9) addItem(i, pane.clone()); for (int i = 0; i <= 45; i += 9) addItem(i, pane.clone());
for (int i = 8; i <= 53; i += 9) addItem(i, pane.clone()); for (int i = 8; i <= 53; i += 9) addItem(i, pane.clone());
for (int i = 37; i <= 43; ++i) addItem(i, pane.clone()); for (int i = 37; i <= 43; ++i) addItem(i, pane.clone());