Commit efcf138c authored by Giant's avatar Giant
Browse files

Add some JavaDocs.

parent c784a73c
......@@ -119,6 +119,13 @@ public class Misc {
return Math.round(r * p) / p;
}
/**
*
* Attempt to get a player.
*
* @param name Partial name of player
* @return null if player not found, else OfflinePlayer
*/
public static OfflinePlayer getPlayer(String name) {
if(players.containsKey(name))
return players.get(name);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment