From d6a3c0c239a03423464821e9b22e4875a492b9a3 Mon Sep 17 00:00:00 2001 From: Jake Potrebic Date: Tue, 23 Apr 2024 16:30:24 -0700 Subject: [PATCH] fix 2 of our javadoc errors --- patches/api/0132-Add-TNTPrimeEvent.patch | 4 ++-- patches/api/0177-Mob-Spawner-API-Enhancements.patch | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/patches/api/0132-Add-TNTPrimeEvent.patch b/patches/api/0132-Add-TNTPrimeEvent.patch index 2b27e325f..cbad36ffd 100644 --- a/patches/api/0132-Add-TNTPrimeEvent.patch +++ b/patches/api/0132-Add-TNTPrimeEvent.patch @@ -6,7 +6,7 @@ Subject: [PATCH] Add TNTPrimeEvent diff --git a/src/main/java/com/destroystokyo/paper/event/block/TNTPrimeEvent.java b/src/main/java/com/destroystokyo/paper/event/block/TNTPrimeEvent.java new file mode 100644 -index 0000000000000000000000000000000000000000..d8de7332b63feb16c855bf7ea1986fd229489c7c +index 0000000000000000000000000000000000000000..676c67d04cbbad0641c2760f9ea62246d248ac87 --- /dev/null +++ b/src/main/java/com/destroystokyo/paper/event/block/TNTPrimeEvent.java @@ -0,0 +1,125 @@ @@ -125,7 +125,7 @@ index 0000000000000000000000000000000000000000..d8de7332b63feb16c855bf7ea1986fd2 + + /** + * When TNT prime was caused by an {@link Entity} shooting TNT -+ * using a bow with {@link Enchantment#ARROW_FIRE} enchantment ++ * using a bow with {@link Enchantment#FLAME} enchantment + */ + PROJECTILE, + diff --git a/patches/api/0177-Mob-Spawner-API-Enhancements.patch b/patches/api/0177-Mob-Spawner-API-Enhancements.patch index a59a7e0f3..4607e8b4b 100644 --- a/patches/api/0177-Mob-Spawner-API-Enhancements.patch +++ b/patches/api/0177-Mob-Spawner-API-Enhancements.patch @@ -5,7 +5,7 @@ Subject: [PATCH] Mob Spawner API Enhancements diff --git a/src/main/java/org/bukkit/block/CreatureSpawner.java b/src/main/java/org/bukkit/block/CreatureSpawner.java -index c33f6573a9cb0a1516539a1947760a093aa08051..5e0fae5a602ab242f00c1f6aead68cc12579bc97 100644 +index c33f6573a9cb0a1516539a1947760a093aa08051..1896adcb15479eb8f26fe7185e4755ca7271a75a 100644 --- a/src/main/java/org/bukkit/block/CreatureSpawner.java +++ b/src/main/java/org/bukkit/block/CreatureSpawner.java @@ -277,4 +277,30 @@ public interface CreatureSpawner extends TileState { @@ -27,7 +27,7 @@ index c33f6573a9cb0a1516539a1947760a093aa08051..5e0fae5a602ab242f00c1f6aead68cc1 + public void resetTimer(); + + /** -+ * Sets the {@link EntityType} to {@link EntityType#DROPPED_ITEM} and sets the data to the given ++ * Sets the {@link EntityType} to {@link EntityType#ITEM} and sets the data to the given + * {@link org.bukkit.inventory.ItemStack ItemStack}. + *

+ * {@link #setSpawnCount(int)} does not dictate the amount of items in the stack spawned, but rather how many