From fbf66f59578a69ab55430d6ad2249619bd8c35f1 Mon Sep 17 00:00:00 2001 From: Bukkit/Spigot Date: Tue, 20 Apr 2021 18:47:00 +1000 Subject: [PATCH] SPIGOT-6302: Javadoc fix for World#spawnEntity() Method does not return null By: Mmaarten --- paper-api/src/main/java/org/bukkit/World.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/paper-api/src/main/java/org/bukkit/World.java b/paper-api/src/main/java/org/bukkit/World.java index 00f64ed3c0..e3968d5fec 100644 --- a/paper-api/src/main/java/org/bukkit/World.java +++ b/paper-api/src/main/java/org/bukkit/World.java @@ -557,7 +557,7 @@ public interface World extends PluginMessageRecipient, Metadatable { * * @param loc The location to spawn the entity * @param type The entity to spawn - * @return Resulting Entity of this method, or null if it was unsuccessful + * @return Resulting Entity of this method */ @NotNull public Entity spawnEntity(@NotNull Location loc, @NotNull EntityType type);