SPIGOT-7659: TropicalFishBucketMeta should use BUCKET_ENTITY_DATA

This commit is contained in:
md_5 2024-05-04 08:49:06 +10:00
parent 2a6207fe15
commit f2182ed473
No known key found for this signature in database
GPG Key ID: E8E901AC7C617C11

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;