Skip to content

Fixed PlayerFishEvent documentation. Fixes BUKKIT-4975 #53

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Apr 10, 2014
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 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,12 @@ 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}.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You'll need a line break here.

*
* @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
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This line still exceeds the 78 character limit.

* has gotten stuck in the ground or nothing has been caught
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You should indent wrapped lines by 4 spaces.

*/
public Entity getCaught() {
return entity;
Expand Down