summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormd_5 <git@md-5.net>2018-11-10 20:45:23 +1100
committermd_5 <git@md-5.net>2018-11-10 20:45:23 +1100
commit67e91ef77757f4affbb1ba7867bd2913e3a2a654 (patch)
treeaad64c255132e2b1fde01e1cb01f699687d69387
parent7b238138b08659838c87eaf0021f92fb4421427c (diff)
downloadbukkit-67e91ef77757f4affbb1ba7867bd2913e3a2a654.tar
bukkit-67e91ef77757f4affbb1ba7867bd2913e3a2a654.tar.gz
bukkit-67e91ef77757f4affbb1ba7867bd2913e3a2a654.tar.lz
bukkit-67e91ef77757f4affbb1ba7867bd2913e3a2a654.tar.xz
bukkit-67e91ef77757f4affbb1ba7867bd2913e3a2a654.zip
Fix some incorrectly handled JavaDoc
-rw-r--r--src/main/java/org/bukkit/StructureType.java6
-rw-r--r--src/main/java/org/bukkit/event/inventory/InventoryInteractEvent.java4
-rw-r--r--src/main/java/org/bukkit/event/player/PlayerBedEnterEvent.java14
3 files changed, 12 insertions, 12 deletions
diff --git a/src/main/java/org/bukkit/StructureType.java b/src/main/java/org/bukkit/StructureType.java
index a8a92607..5de51989 100644
--- a/src/main/java/org/bukkit/StructureType.java
+++ b/src/main/java/org/bukkit/StructureType.java
@@ -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;
diff --git a/src/main/java/org/bukkit/event/inventory/InventoryInteractEvent.java b/src/main/java/org/bukkit/event/inventory/InventoryInteractEvent.java
index 627cd0fd..19e67a70 100644
--- a/src/main/java/org/bukkit/event/inventory/InventoryInteractEvent.java
+++ b/src/main/java/org/bukkit/event/inventory/InventoryInteractEvent.java
@@ -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.
*
diff --git a/src/main/java/org/bukkit/event/player/PlayerBedEnterEvent.java b/src/main/java/org/bukkit/event/player/PlayerBedEnterEvent.java
index d938883a..3b18520f 100644
--- a/src/main/java/org/bukkit/event/player/PlayerBedEnterEvent.java
+++ b/src/main/java/org/bukkit/event/player/PlayerBedEnterEvent.java
@@ -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