Fix jukebox playable component not being applied on item meta (#10922)

This commit is contained in:
Lulu13022002
2024-06-20 17:57:56 +02:00
parent 72883ff600
commit a362e724b2
5 changed files with 59 additions and 1 deletions

View File

@@ -1627,6 +1627,15 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
* @param name the name to set
* @deprecated meta no longer exists
*/
@@ -0,0 +0,0 @@ public interface ItemMeta extends Cloneable, ConfigurationSerializable, Persiste
*
* @return component
*/
- @Nullable
+ @NotNull // Paper
JukeboxPlayableComponent getJukeboxPlayable();
/**
diff --git a/src/main/java/org/bukkit/inventory/meta/MapMeta.java b/src/main/java/org/bukkit/inventory/meta/MapMeta.java
index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000 100644
--- a/src/main/java/org/bukkit/inventory/meta/MapMeta.java