SPIGOT-7659: TropicalFishBucketMeta should use BUCKET_ENTITY_DATA

By: md_5 <git@md-5.net>
This commit is contained in:
CraftBukkit/Spigot 2024-05-04 08:49:06 +10:00
parent acdb83379e
commit 9bf6a88788

View file

@ -18,7 +18,7 @@ import org.bukkit.inventory.meta.TropicalFishBucketMeta;
@DelegateDeserialization(SerializableMeta.class)
class CraftMetaTropicalFishBucket extends CraftMetaItem implements TropicalFishBucketMeta {
static final ItemMetaKey VARIANT = new ItemMetaKey("BucketVariantTag", "fish-variant");
static final ItemMetaKeyType<CustomData> ENTITY_TAG = new ItemMetaKeyType<>(DataComponents.ENTITY_DATA, "entity-tag");
static final ItemMetaKeyType<CustomData> ENTITY_TAG = new ItemMetaKeyType<>(DataComponents.BUCKET_ENTITY_DATA, "entity-tag");
private Integer variant;
private NBTTagCompound entityTag;