SPIGOT-6302: Javadoc fix for World#spawnEntity()

Method does not return null

By: Mmaarten <mmaartendisc@gmail.com>
This commit is contained in:
Bukkit/Spigot 2021-04-20 18:47:00 +10:00
parent aa829fc936
commit fbf66f5957

View File

@ -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);