Skip to content

Commit

Permalink
Pulling all pending Bukkit-JavaDoc changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Wolvereness committed Jul 9, 2014
1 parent cc3e3b8 commit 7e73c85
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/main/java/org/bukkit/GameMode.java
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public enum GameMode {
SURVIVAL(0),

/**
* Adventure mode cannot break blocks, use chat, use buckets, etc.
* Adventure mode cannot break blocks without the correct tools.
*/
ADVENTURE(2);

Expand Down
2 changes: 1 addition & 1 deletion src/main/java/org/bukkit/Location.java
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ public void setPitch(float pitch) {
}

/**
* Sets the pitch of this location, measured in degrees.
* Gets the pitch of this location, measured in degrees.
* <ul>
* <li>A pitch of 0 represents level forward facing.
* <li>A pitch of 90 represents downward facing, or negative y
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/org/bukkit/entity/HumanEntity.java
Original file line number Diff line number Diff line change
Expand Up @@ -148,14 +148,14 @@ public interface HumanEntity extends LivingEntity, AnimalTamer, Permissible, Inv
public int getSleepTicks();

/**
* Gets this humans current {@link GameMode}
* Gets this human's current {@link GameMode}
*
* @return Current game mode
*/
public GameMode getGameMode();

/**
* Sets this humans current {@link GameMode}
* Sets this human's current {@link GameMode}
*
* @param mode New game mode
*/
Expand Down
9 changes: 6 additions & 3 deletions src/main/java/org/bukkit/event/player/PlayerFishEvent.java
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,13 @@ public PlayerFishEvent(final Player player, final Entity entity, final Fish hook
}

/**
* Gets the entity caught by the player
* Gets the entity caught by the player.
* <p>
* If player has fished successfully, the result may be cast to {@link
* Item}.
*
* @return Entity caught by the player, null if fishing, bobber has gotten
* stuck in the ground or nothing has been caught
* @return Entity caught by the player, Entity if fishing, and null if
* bobber has gotten stuck in the ground or nothing has been caught
*/
public Entity getCaught() {
return entity;
Expand Down

0 comments on commit 7e73c85

Please sign in to comment.