From 19b6eb1ddacff3ac3ebf354222b328364edeacbb Mon Sep 17 00:00:00 2001 From: Bukkit/Spigot Date: Mon, 22 Feb 2021 19:36:26 +1100 Subject: [PATCH] #587: Fix various javadoc typos By: Matthew Sanders --- paper-api/src/main/java/org/bukkit/entity/ArmorStand.java | 4 ++-- .../main/java/org/bukkit/event/entity/PlayerDeathEvent.java | 4 ++-- .../src/main/java/org/bukkit/plugin/ServicesManager.java | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/paper-api/src/main/java/org/bukkit/entity/ArmorStand.java b/paper-api/src/main/java/org/bukkit/entity/ArmorStand.java index e94ec567fb..26223028f6 100644 --- a/paper-api/src/main/java/org/bukkit/entity/ArmorStand.java +++ b/paper-api/src/main/java/org/bukkit/entity/ArmorStand.java @@ -306,7 +306,7 @@ public interface ArmorStand extends LivingEntity { * Remove a {@link LockType locking mechanism}. * * @param slot the equipment slot to change - * @param lockType the lockType to remove + * @param lockType the LockType to remove */ void removeEquipmentLock(@NotNull EquipmentSlot slot, @NotNull LockType lockType); @@ -316,7 +316,7 @@ public interface ArmorStand extends LivingEntity { * * @param slot the EquipmentSlot to test * @param lockType the LockType to test - * @return if the ArmnorStand has been locked with the parameters specified + * @return if the ArmorStand has been locked with the parameters specified */ boolean hasEquipmentLock(@NotNull EquipmentSlot slot, @NotNull LockType lockType); diff --git a/paper-api/src/main/java/org/bukkit/event/entity/PlayerDeathEvent.java b/paper-api/src/main/java/org/bukkit/event/entity/PlayerDeathEvent.java index 07a52441a5..3c2ea8fec3 100644 --- a/paper-api/src/main/java/org/bukkit/event/entity/PlayerDeathEvent.java +++ b/paper-api/src/main/java/org/bukkit/event/entity/PlayerDeathEvent.java @@ -134,7 +134,7 @@ public class PlayerDeathEvent extends EntityDeathEvent { *

* This overrides all other EXP settings *

- * This doesn't prevent prevent the EXP from dropping. + * This doesn't prevent the EXP from dropping. * {@link #setDroppedExp(int)} should be used stop the * EXP from dropping. * @@ -147,7 +147,7 @@ public class PlayerDeathEvent extends EntityDeathEvent { /** * Sets if the Player keeps inventory on death. *

- * This doesn't prevent prevent the items from dropping. + * This doesn't prevent the items from dropping. * {@code getDrops().clear()} should be used stop the * items from dropping. * diff --git a/paper-api/src/main/java/org/bukkit/plugin/ServicesManager.java b/paper-api/src/main/java/org/bukkit/plugin/ServicesManager.java index 9e2f00572a..5066c938a2 100644 --- a/paper-api/src/main/java/org/bukkit/plugin/ServicesManager.java +++ b/paper-api/src/main/java/org/bukkit/plugin/ServicesManager.java @@ -49,7 +49,7 @@ public interface ServicesManager { public void unregister(@NotNull Object provider); /** - * Queries for a provider. This may return if no provider has been + * Queries for a provider. This may return null if no provider has been * registered for a service. The highest priority provider is returned. * * @param The service interface @@ -60,7 +60,7 @@ public interface ServicesManager { public T load(@NotNull Class service); /** - * Queries for a provider registration. This may return if no provider + * Queries for a provider registration. This may return null if no provider * has been registered for a service. * * @param The service interface