aboutsummaryrefslogtreecommitdiffhomepage
path: root/patches/server/1047-fixup-fixup-Add-ArmorStand-Item-Meta.patch
blob: b45600d2b78e9ec8a78ebad69881604e97871647 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Shane Freeder <theboyetronic@gmail.com>
Date: Thu, 15 Aug 2024 22:36:26 +0100
Subject: [PATCH] fixup! fixup! Add ArmorStand Item Meta


diff --git a/src/main/java/org/bukkit/craftbukkit/inventory/CraftMetaArmorStand.java b/src/main/java/org/bukkit/craftbukkit/inventory/CraftMetaArmorStand.java
index 65175910d99999fc42247aab33396b3078851fe4..dcdf45cce137233cde8134a1db50a76bec864151 100644
--- a/src/main/java/org/bukkit/craftbukkit/inventory/CraftMetaArmorStand.java
+++ b/src/main/java/org/bukkit/craftbukkit/inventory/CraftMetaArmorStand.java
@@ -214,7 +214,7 @@ public class CraftMetaArmorStand extends CraftMetaItem implements com.destroysto
     private void populateTagIfNull() {
         if (this.entityTag == null) {
             this.entityTag = new CompoundTag();
-            this.entityTag.putString(ENTITY_ID.NBT, "minecraft:armorstand");
+            this.entityTag.putString(ENTITY_ID.NBT, "minecraft:armor_stand");
         }
     }