diff --git a/src/main/java/org/maxgamer/quickshop/Shop/ArmorStandDisplayItem.java b/src/main/java/org/maxgamer/quickshop/Shop/ArmorStandDisplayItem.java index e2ef4908f..5302fd82d 100644 --- a/src/main/java/org/maxgamer/quickshop/Shop/ArmorStandDisplayItem.java +++ b/src/main/java/org/maxgamer/quickshop/Shop/ArmorStandDisplayItem.java @@ -66,7 +66,7 @@ public class ArmorStandDisplayItem implements DisplayItem { //this.armorStand.setSmall(true); //Set armorstand item in hand - this.armorStand.setItemInHand(new ItemStack(originalItemStack.getType())); +// this.armorStand.setItemInHand(new ItemStack(originalItemStack.getType())); //Set safeGuard safeGuard(this.armorStand); //Set pose @@ -82,8 +82,8 @@ public class ArmorStandDisplayItem implements DisplayItem { } ArmorStand armorStand = (ArmorStand) entity; //Set item protect in the armorstand's hand -// this.guardedIstack = DisplayItem.createGuardItemStack(this.originalItemStack); - armorStand.setItemInHand(new ItemStack(originalItemStack.getType())); + this.guardedIstack = DisplayItem.createGuardItemStack(this.originalItemStack); + armorStand.setItemInHand(guardedIstack); Util.debugLog("Successfully safeGuard ArmorStand: " + armorStand.getLocation().toString()); }