fix 2 of our javadoc errors

This commit is contained in:
Jake Potrebic 2024-04-23 16:30:24 -07:00
parent 862d00478e
commit d6a3c0c239
No known key found for this signature in database
GPG key ID: ECE0B3C133C016C5
2 changed files with 4 additions and 4 deletions

View file

@ -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}.
+ * <p>
+ * {@link #setSpawnCount(int)} does not dictate the amount of items in the stack spawned, but rather how many