mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-09 00:22:08 -07:00
#587: Fix various javadoc typos
By: Matthew Sanders <msanders5984@gmail.com>
This commit is contained in:
@@ -306,7 +306,7 @@ public interface ArmorStand extends LivingEntity {
|
|||||||
* Remove a {@link LockType locking mechanism}.
|
* Remove a {@link LockType locking mechanism}.
|
||||||
*
|
*
|
||||||
* @param slot the equipment slot to change
|
* @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);
|
void removeEquipmentLock(@NotNull EquipmentSlot slot, @NotNull LockType lockType);
|
||||||
|
|
||||||
@@ -316,7 +316,7 @@ public interface ArmorStand extends LivingEntity {
|
|||||||
*
|
*
|
||||||
* @param slot the EquipmentSlot to test
|
* @param slot the EquipmentSlot to test
|
||||||
* @param lockType the LockType 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);
|
boolean hasEquipmentLock(@NotNull EquipmentSlot slot, @NotNull LockType lockType);
|
||||||
|
|
||||||
|
@@ -134,7 +134,7 @@ public class PlayerDeathEvent extends EntityDeathEvent {
|
|||||||
* <p>
|
* <p>
|
||||||
* This overrides all other EXP settings
|
* This overrides all other EXP settings
|
||||||
* <p>
|
* <p>
|
||||||
* <b>This doesn't prevent prevent the EXP from dropping.
|
* <b>This doesn't prevent the EXP from dropping.
|
||||||
* {@link #setDroppedExp(int)} should be used stop the
|
* {@link #setDroppedExp(int)} should be used stop the
|
||||||
* EXP from dropping.</b>
|
* EXP from dropping.</b>
|
||||||
*
|
*
|
||||||
@@ -147,7 +147,7 @@ public class PlayerDeathEvent extends EntityDeathEvent {
|
|||||||
/**
|
/**
|
||||||
* Sets if the Player keeps inventory on death.
|
* Sets if the Player keeps inventory on death.
|
||||||
* <p>
|
* <p>
|
||||||
* <b>This doesn't prevent prevent the items from dropping.
|
* <b>This doesn't prevent the items from dropping.
|
||||||
* {@code getDrops().clear()} should be used stop the
|
* {@code getDrops().clear()} should be used stop the
|
||||||
* items from dropping.</b>
|
* items from dropping.</b>
|
||||||
*
|
*
|
||||||
|
@@ -49,7 +49,7 @@ public interface ServicesManager {
|
|||||||
public void unregister(@NotNull Object provider);
|
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.
|
* registered for a service. The highest priority provider is returned.
|
||||||
*
|
*
|
||||||
* @param <T> The service interface
|
* @param <T> The service interface
|
||||||
@@ -60,7 +60,7 @@ public interface ServicesManager {
|
|||||||
public <T> T load(@NotNull Class<T> service);
|
public <T> T load(@NotNull Class<T> 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.
|
* has been registered for a service.
|
||||||
*
|
*
|
||||||
* @param <T> The service interface
|
* @param <T> The service interface
|
||||||
|
Reference in New Issue
Block a user