From 1b64536bbc2bbf03c82a0c46d392a85f5c9ea892 Mon Sep 17 00:00:00 2001 From: Aurora Date: Sat, 3 Oct 2020 16:31:23 +0200 Subject: [PATCH] Clarify the JavaDocs for Entity.getEntitySpawnReason() in response to #4361 --- ...docs-for-Entity.getEntitySpawnReason.patch | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 Spigot-API-Patches/0230-Clarify-the-Javadocs-for-Entity.getEntitySpawnReason.patch diff --git a/Spigot-API-Patches/0230-Clarify-the-Javadocs-for-Entity.getEntitySpawnReason.patch b/Spigot-API-Patches/0230-Clarify-the-Javadocs-for-Entity.getEntitySpawnReason.patch new file mode 100644 index 0000000000..fab33a212c --- /dev/null +++ b/Spigot-API-Patches/0230-Clarify-the-Javadocs-for-Entity.getEntitySpawnReason.patch @@ -0,0 +1,19 @@ +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 +From: Aurora +Date: Sat, 3 Oct 2020 16:28:41 +0200 +Subject: [PATCH] Clarify the Javadocs for Entity.getEntitySpawnReason() + + +diff --git a/src/main/java/org/bukkit/entity/Entity.java b/src/main/java/org/bukkit/entity/Entity.java +index 9bae4704b306b1d04534072690355983856c7801..4d1970bec04c5a3cf01d214f583efb0e1d08380d 100644 +--- a/src/main/java/org/bukkit/entity/Entity.java ++++ b/src/main/java/org/bukkit/entity/Entity.java +@@ -651,7 +651,7 @@ public interface Entity extends Metadatable, CommandSender, Nameable, Persistent + Chunk getChunk(); + + /** +- * @return The {@link org.bukkit.event.entity.CreatureSpawnEvent.SpawnReason} that spawned this entity. ++ * @return The {@link org.bukkit.event.entity.CreatureSpawnEvent.SpawnReason} that initially spawned this entity. + */ + @NotNull + org.bukkit.event.entity.CreatureSpawnEvent.SpawnReason getEntitySpawnReason();