mirror of
https://github.com/EarthMC/QuickShop-Reremake.git
synced 2026-11-24 17:39:52 -05:00
Temp push
Former-commit-id: 1014c7316f27875980c3e90a7b9d6c892bb8237b [formerly e1cff21ff1da5fc9ac0a0cc98b8796e0931e1167] Former-commit-id: 9332bc524eff72edcce1840764aebc9386683990
This commit is contained in:
1 parent
72eb5e20bc
commit
bd4628c13d
1 file changed
+3
-3
@@ -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());
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user