13
0
geforkt von Mirrors/Paper

Fix some incorrectly handled JavaDoc

By: md_5 <git@md-5.net>
Dieser Commit ist enthalten in:
Bukkit/Spigot 2018-11-10 20:45:23 +11:00
Ursprung 43b01394e5
Commit 3a419169d2
3 geänderte Dateien mit 12 neuen und 12 gelöschten Zeilen

Datei anzeigen

@ -149,7 +149,7 @@ public class StructureType {
* <i>mapIcon</i>.
*
* @param name the name of the structure, case-sensitive
* @param mapIcon the {@link MapCursor.Type} this structure type should use
* @param mapIcon the {@link org.bukkit.map.MapCursor.Type} this structure type should use
* when creating explorer maps. Use null to indicate this structure should
* not be compatible with explorer maps.
*/
@ -170,10 +170,10 @@ public class StructureType {
}
/**
* Get the {@link MapCursor.Type} that this structure can use on maps. If
* Get the {@link org.bukkit.map.MapCursor.Type} that this structure can use on maps. If
* this is null, this structure will not appear on explorer maps.
*
* @return the {@link MapCursor.Type} or null.
* @return the {@link org.bukkit.map.MapCursor.Type} or null.
*/
public MapCursor.Type getMapIcon() {
return mapCursor;

Datei anzeigen

@ -29,14 +29,14 @@ public abstract class InventoryInteractEvent extends InventoryEvent implements C
* event is considered cancelled.
*
* @see #isCancelled()
* @param newResult the new {@link Result} for this event
* @param newResult the new {@link org.bukkit.event.Event.Result} for this event
*/
public void setResult(Result newResult) {
result = newResult;
}
/**
* Gets the {@link Result} of this event. The Result describes the
* Gets the {@link org.bukkit.event.Event.Result} of this event. The Result describes the
* behavior that will be applied to the inventory in relation to this
* event.
*

Datei anzeigen

@ -76,11 +76,11 @@ public class PlayerBedEnterEvent extends PlayerEvent implements Cancellable {
/**
* This controls the action to take with the bed that was clicked on.
* <p>
* In case of {@link Result#DEFAULT}, the default outcome is described by
* In case of {@link org.bukkit.event.Event.Result#DEFAULT}, the default outcome is described by
* {@link #getBedEnterResult()}.
*
* @return the action to take with the interacted bed
* @see #setUseBed(Result)
* @see #setUseBed(org.bukkit.event.Event.Result)
*/
public Result useBed() {
return useBed;
@ -89,13 +89,13 @@ public class PlayerBedEnterEvent extends PlayerEvent implements Cancellable {
/**
* Sets the action to take with the interacted bed.
* <p>
* {@link Result#ALLOW} will result in the player sleeping, regardless of
* {@link org.bukkit.event.Event.Result#ALLOW} will result in the player sleeping, regardless of
* the default outcome described by {@link #getBedEnterResult()}.
* <br>
* {@link Result#DENY} will prevent the player from sleeping. This has the
* {@link org.bukkit.event.Event.Result#DENY} will prevent the player from sleeping. This has the
* same effect as canceling the event via {@link #setCancelled(boolean)}.
* <br>
* {@link Result#DEFAULT} will result in the outcome described by
* {@link org.bukkit.event.Event.Result#DEFAULT} will result in the outcome described by
* {@link #getBedEnterResult()}.
*
* @param useBed the action to take with the interacted bed
@ -110,10 +110,10 @@ public class PlayerBedEnterEvent extends PlayerEvent implements Cancellable {
* prevent the player from sleeping.
* <p>
* Canceling the event has the same effect as setting {@link #useBed()} to
* {@link Result#DENY}.
* {@link org.bukkit.event.Event.Result#DENY}.
* <p>
* For backwards compatibility reasons this also returns true if
* {@link #useBed()} is {@link Result#DEFAULT} and the
* {@link #useBed()} is {@link org.bukkit.event.Event.Result#DEFAULT} and the
* {@link #getBedEnterResult() default action} is to prevent bed entering.
*
* @return boolean cancellation state