mirror of
https://github.com/EarthMC/QuickShop-Reremake.git
synced 2026-11-26 10:29:48 -05:00
Dix again:ArmorStandDisplay something wrong
Former-commit-id: 98eb6c065460d8235c2318457e18f816f9693378 [formerly 23e50db48d2e32eb67b832f467edd54422c7b758] Former-commit-id: 992063bac18c04acc88396267f8e16fb1f44b054
This commit is contained in:
1 parent
6af953b49b
commit
72eb5e20bc
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(originalItemStack.clone());
|
||||
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(guardedIstack.clone());
|
||||
// this.guardedIstack = DisplayItem.createGuardItemStack(this.originalItemStack);
|
||||
armorStand.setItemInHand(new ItemStack(originalItemStack.getType()));
|
||||
Util.debugLog("Successfully safeGuard ArmorStand: " + armorStand.getLocation().toString());
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user