aboutsummaryrefslogtreecommitdiffhomepage
path: root/patches/api/0409-Fix-SpawnEggMeta-get-setSpawnedType.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches/api/0409-Fix-SpawnEggMeta-get-setSpawnedType.patch')
-rw-r--r--patches/api/0409-Fix-SpawnEggMeta-get-setSpawnedType.patch6
1 files changed, 3 insertions, 3 deletions
diff --git a/patches/api/0409-Fix-SpawnEggMeta-get-setSpawnedType.patch b/patches/api/0409-Fix-SpawnEggMeta-get-setSpawnedType.patch
index 4ea704f3f4..a63f180b39 100644
--- a/patches/api/0409-Fix-SpawnEggMeta-get-setSpawnedType.patch
+++ b/patches/api/0409-Fix-SpawnEggMeta-get-setSpawnedType.patch
@@ -5,7 +5,7 @@ Subject: [PATCH] Fix SpawnEggMeta#get/setSpawnedType
diff --git a/src/main/java/org/bukkit/inventory/meta/SpawnEggMeta.java b/src/main/java/org/bukkit/inventory/meta/SpawnEggMeta.java
-index 28a7544dddc05be0c5f9a7bad21b9d41029230bd..4dbaf178d6ea3e9ce9dc03e0f5aacc51be5af5c9 100644
+index 28a7544dddc05be0c5f9a7bad21b9d41029230bd..7892a23ec58f71b35b662bc08abacc6238a92b94 100644
--- a/src/main/java/org/bukkit/inventory/meta/SpawnEggMeta.java
+++ b/src/main/java/org/bukkit/inventory/meta/SpawnEggMeta.java
@@ -15,7 +15,7 @@ public interface SpawnEggMeta extends ItemMeta {
@@ -32,14 +32,14 @@ index 28a7544dddc05be0c5f9a7bad21b9d41029230bd..4dbaf178d6ea3e9ce9dc03e0f5aacc51
+ *
+ * @return the entity type or null if no custom type is set
+ */
-+ @org.jetbrains.annotations.Nullable EntityType getCustomSpawnedType();
++ @org.jetbrains.annotations.Nullable EntityType<?> getCustomSpawnedType();
+
+ /**
+ * Set the custom type of entity this egg will spawn.
+ *
+ * @param type the entity type or null to clear the custom type
+ */
-+ void setCustomSpawnedType(@org.jetbrains.annotations.Nullable EntityType type);
++ void setCustomSpawnedType(@org.jetbrains.annotations.Nullable EntityType<?> type);
+ // Paper end
+
@NotNull