diff options
author | Shane Freeder <[email protected]> | 2024-08-15 22:44:01 +0100 |
---|---|---|
committer | Bjarne Koll <[email protected]> | 2024-08-16 23:34:53 +0200 |
commit | c9c50db63c3b0b31ef96ef2b4f09e9dc20ae0c1b (patch) | |
tree | d3e27bf319785ed50506a0bde137fe5d135797c9 | |
parent | 9554470d54d2c9030a7267cf10e402ec669ef1cb (diff) | |
download | Paper-c9c50db63c3b0b31ef96ef2b4f09e9dc20ae0c1b.tar.gz Paper-c9c50db63c3b0b31ef96ef2b4f09e9dc20ae0c1b.zip |
fix bad entity tag ID
-rw-r--r-- | patches/server/1046-fixup-Add-ArmorStand-Item-Meta.patch (renamed from patches/server/1041-fixup-Add-ArmorStand-Item-Meta.patch) | 0 | ||||
-rw-r--r-- | patches/server/1047-fixup-fixup-Add-ArmorStand-Item-Meta.patch | 19 |
2 files changed, 19 insertions, 0 deletions
diff --git a/patches/server/1041-fixup-Add-ArmorStand-Item-Meta.patch b/patches/server/1046-fixup-Add-ArmorStand-Item-Meta.patch index f2e09da071..f2e09da071 100644 --- a/patches/server/1041-fixup-Add-ArmorStand-Item-Meta.patch +++ b/patches/server/1046-fixup-Add-ArmorStand-Item-Meta.patch diff --git a/patches/server/1047-fixup-fixup-Add-ArmorStand-Item-Meta.patch b/patches/server/1047-fixup-fixup-Add-ArmorStand-Item-Meta.patch new file mode 100644 index 0000000000..b45600d2b7 --- /dev/null +++ b/patches/server/1047-fixup-fixup-Add-ArmorStand-Item-Meta.patch @@ -0,0 +1,19 @@ +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 +From: Shane Freeder <[email protected]> +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"); + } + } + |