Update Maven plugins

By: md_5 <git@md-5.net>
This commit is contained in:
Bukkit/Spigot
2021-07-03 11:06:15 +10:00
parent 34e6b033ad
commit 6dd24e4af2
25 changed files with 98 additions and 102 deletions

View File

@@ -57,8 +57,8 @@ public class CauldronLevelChangeEvent extends BlockEvent implements Cancellable
* Gets the old level of the cauldron.
*
* @return old level
* @deprecated not all cauldron contents are Levelled
* @see #getBlock()
* @deprecated not all cauldron contents are Levelled
*/
@Deprecated
public int getOldLevel() {
@@ -70,8 +70,8 @@ public class CauldronLevelChangeEvent extends BlockEvent implements Cancellable
* Gets the new level of the cauldron.
*
* @return new level
* @deprecated not all cauldron contents are Levelled
* @see #getNewState()
* @deprecated not all cauldron contents are Levelled
*/
@Deprecated
public int getNewLevel() {
@@ -83,8 +83,8 @@ public class CauldronLevelChangeEvent extends BlockEvent implements Cancellable
* Sets the new level of the cauldron.
*
* @param newLevel new level
* @deprecated not all cauldron contents are Levelled
* @see #getNewState()
* @deprecated not all cauldron contents are Levelled
*/
@Deprecated
public void setNewLevel(int newLevel) {

View File

@@ -165,8 +165,8 @@ public class InventoryClickEvent extends InventoryInteractEvent {
/**
* Gets the inventory corresponding to the clicked slot.
*
* @see InventoryView#getInventory(int)
* @return inventory, or null if clicked outside
* @see InventoryView#getInventory(int)
*/
@Nullable
public Inventory getClickedInventory() {

View File

@@ -47,9 +47,9 @@ public class AsyncPlayerPreLoginEvent extends Event {
* Gets the current result of the login, as an enum
*
* @return Current Result of the login
* @see #getLoginResult()
* @deprecated This method uses a deprecated enum from {@link
* PlayerPreLoginEvent}
* @see #getLoginResult()
*/
@Deprecated
@NotNull
@@ -70,9 +70,9 @@ public class AsyncPlayerPreLoginEvent extends Event {
* Sets the new result of the login, as an enum
*
* @param result New result to set
* @see #setLoginResult(Result)
* @deprecated This method uses a deprecated enum from {@link
* PlayerPreLoginEvent}
* @see #setLoginResult(Result)
*/
@Deprecated
public void setResult(@NotNull final PlayerPreLoginEvent.Result result) {
@@ -123,9 +123,9 @@ public class AsyncPlayerPreLoginEvent extends Event {
*
* @param result New result for disallowing the player
* @param message Kick message to display to the user
* @see #disallow(Result, String)
* @deprecated This method uses a deprecated enum from {@link
* PlayerPreLoginEvent}
* @see #disallow(Result, String)
*/
@Deprecated
public void disallow(@NotNull final PlayerPreLoginEvent.Result result, @NotNull final String message) {

View File

@@ -122,9 +122,9 @@ public class PlayerCommandPreprocessEvent extends PlayerEvent implements Cancell
* UnsupportedOperationException} if the event caller provides an
* unmodifiable set.
*
* @return All Players who will see this chat message
* @deprecated This method is provided for backward compatibility with no
* guarantee to the effect of viewing or modifying the set.
* @return All Players who will see this chat message
*/
@NotNull
@Deprecated

View File

@@ -19,9 +19,8 @@ public class PlayerLocaleChangeEvent extends PlayerEvent {
}
/**
* @see Player#getLocale()
*
* @return the player's new locale
* @see Player#getLocale()
*/
@NotNull
public String getLocale() {