Skip to content
This repository has been archived by the owner on Jul 19, 2021. It is now read-only.

Commit

Permalink
removed unimplemented target mode
Browse files Browse the repository at this point in the history
  • Loading branch information
RypoFalem committed Nov 27, 2016
1 parent 9b9dfe9 commit c72858c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 8 deletions.
2 changes: 0 additions & 2 deletions src/io/github/rypofalem/armorstandeditor/PlayerEditor.java
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
7 changes: 2 additions & 5 deletions src/io/github/rypofalem/armorstandeditor/menu/Menu.java
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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");
Expand Down Expand Up @@ -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,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit c72858c

Please sign in to comment.