From 9ec9bfb602ef6ba01ff1fcc44cae52c7d92ccc99 Mon Sep 17 00:00:00 2001 From: RypoFalem Date: Sun, 27 Nov 2016 20:05:59 -0600 Subject: [PATCH] Removed extra information from chest menu icons --- .../rypofalem/armorstandeditor/PlayerEditor.java | 1 - .../armorstandeditor/menu/EquipmentMenu.java | 3 +++ .../github/rypofalem/armorstandeditor/menu/Menu.java | 12 ++++-------- 3 files changed, 7 insertions(+), 9 deletions(-) diff --git a/src/io/github/rypofalem/armorstandeditor/PlayerEditor.java b/src/io/github/rypofalem/armorstandeditor/PlayerEditor.java index 1bfaaaaa..c4ce79ba 100644 --- a/src/io/github/rypofalem/armorstandeditor/PlayerEditor.java +++ b/src/io/github/rypofalem/armorstandeditor/PlayerEditor.java @@ -319,7 +319,6 @@ public void setTarget(ArrayList armorStands){ sendMessage("target", null); } } - plugin.print(targetIndex + ""); target = targetList.get(targetIndex); glow(target); } diff --git a/src/io/github/rypofalem/armorstandeditor/menu/EquipmentMenu.java b/src/io/github/rypofalem/armorstandeditor/menu/EquipmentMenu.java index 7d4b4f15..0dba1310 100644 --- a/src/io/github/rypofalem/armorstandeditor/menu/EquipmentMenu.java +++ b/src/io/github/rypofalem/armorstandeditor/menu/EquipmentMenu.java @@ -7,6 +7,7 @@ import org.bukkit.entity.ArmorStand; import org.bukkit.inventory.EntityEquipment; import org.bukkit.inventory.Inventory; +import org.bukkit.inventory.ItemFlag; import org.bukkit.inventory.ItemStack; import org.bukkit.inventory.meta.ItemMeta; @@ -67,6 +68,8 @@ private ItemStack createIcon(Material mat, String slot){ loreList.add(pe.plugin.getLang().getMessage("equipslot.description", "icondescription", slot)); //equioslot.description.msg