diff --git a/src/io/github/rypofalem/armorstandeditor/PlayerEditor.java b/src/io/github/rypofalem/armorstandeditor/PlayerEditor.java index 9afdc4f0..4e80109c 100644 --- a/src/io/github/rypofalem/armorstandeditor/PlayerEditor.java +++ b/src/io/github/rypofalem/armorstandeditor/PlayerEditor.java @@ -108,8 +108,6 @@ public void editArmorStand(ArmorStand armorStand) { break; case EQUIPMENT: openEquipment(armorStand); break; - case TARGET: setTarget(armorStand); - break; case RESET: resetPosition(armorStand); break; case NONE: sendMessage("nomode", null); break; diff --git a/src/io/github/rypofalem/armorstandeditor/menu/Menu.java b/src/io/github/rypofalem/armorstandeditor/menu/Menu.java index 3961f1d7..b9fb7271 100644 --- a/src/io/github/rypofalem/armorstandeditor/menu/Menu.java +++ b/src/io/github/rypofalem/armorstandeditor/menu/Menu.java @@ -29,7 +29,7 @@ private void fillInventory() { menuInv.clear(); @SuppressWarnings("unused") ItemStack xAxis= null, yAxis= null, zAxis= null, coarseAdj= null, fineAdj= null, rotate = null, place = null, - headPos= null, target = null, + headPos= null, rightArmPos= null, bodyPos= null, leftArmPos= null, reset = null, showArms= null, visibility= null, size= null, rightLegPos= null, equipment = null, leftLegPos= null, disableSlots = null, gravity= null, plate= null, copy= null, paste= null, slot1= null, slot2= null, slot3= null, slot4= null, slot5= null, slot6= null, slot7= null, slot8= null, slot9 = null; @@ -137,9 +137,6 @@ private void fillInventory() { "rotate", "mode rotate"); } - target = createIcon(new ItemStack(Material.END_CRYSTAL, 1), - "target", "mode target"); - if(pe.getPlayer().hasPermission("asedit.equipment")){ equipment = createIcon(new ItemStack(Material.CHEST, 1), "equipment", "mode equipment"); @@ -181,7 +178,7 @@ private void fillInventory() { } ItemStack[] items = {xAxis, yAxis, zAxis, null, coarseAdj, fineAdj, null, rotate, place, - null, headPos, null, null, null, null, null, null, target, + null, headPos, null, null, null, null, null, null, rightArmPos, bodyPos, leftArmPos, reset, null, null, showArms, visibility, size, rightLegPos, equipment, leftLegPos, null, null, null, null, gravity, plate, null, null, null, null, copy, paste, null, null, null, diff --git a/src/io/github/rypofalem/armorstandeditor/modes/EditMode.java b/src/io/github/rypofalem/armorstandeditor/modes/EditMode.java index 46370a83..435a029d 100644 --- a/src/io/github/rypofalem/armorstandeditor/modes/EditMode.java +++ b/src/io/github/rypofalem/armorstandeditor/modes/EditMode.java @@ -3,7 +3,7 @@ public enum EditMode { NONE("None"), INVISIBLE("Invisible"), SHOWARMS("ShowArms"), GRAVITY("Gravity"), BASEPLATE("BasePlate"), SIZE("Size"), COPY("Copy"), PASTE("Paste"), HEAD("Head"), BODY("Body"), LEFTARM("LeftArm"), RIGHTARM("RightArm"), LEFTLEG("LeftLeg"), RIGHTLEG("RightLeg"), - PLACEMENT("Placement"), DISABLESLOTS("DisableSlots"), ROTATE("Rotate"), TARGET("Target"), EQUIPMENT("Equipment"), RESET("Reset"); + PLACEMENT("Placement"), DISABLESLOTS("DisableSlots"), ROTATE("Rotate"), EQUIPMENT("Equipment"), RESET("Reset"); private String name;