* Fixed bug with merging.

This commit is contained in:
RandomPanda30 2013-10-06 20:17:59 +01:00
parent 21039611f7
commit 7ee6af029d

View File

@ -180,18 +180,18 @@ public class ArenaHandler {
Permissions.vip, true)) { Permissions.vip, true)) {
ItemStack shopBlockChooser = new ItemStack( ItemStack shopBlockChooser = new ItemStack(
Material.getMaterial((String) W.config Material.getMaterial((String) W.config
.get(ConfigC.shop_blockChooserIDname)), .get(ConfigC.shop_blockChooserv1IDname)),
1); 1);
ItemMeta shopBlockChooser_IM = shopBlockChooser ItemMeta shopBlockChooser_IM = shopBlockChooser
.getItemMeta(); .getItemMeta();
shopBlockChooser_IM shopBlockChooser_IM
.setDisplayName(MessageM .setDisplayName(MessageM
.replaceAll((String) W.config .replaceAll((String) W.config
.get(ConfigC.shop_blockChooserName))); .get(ConfigC.shop_blockChooserv1Name)));
List<String> lores = W.config List<String> lores = W.config
.getFile() .getFile()
.getStringList( .getStringList(
ConfigC.shop_blockChooserDescription.location); ConfigC.shop_blockChooserv1Description.location);
List<String> lores2 = new ArrayList<String>(); List<String> lores2 = new ArrayList<String>();
for (String lore : lores) { for (String lore : lores) {
lores2.add(MessageM lores2.add(MessageM