Skip to content
This repository has been archived by the owner on Jul 27, 2019. It is now read-only.

Commit

Permalink
Updating javadocs. #116
Browse files Browse the repository at this point in the history
  • Loading branch information
cnaude committed Nov 17, 2015
1 parent 4cd1029 commit 72415c3
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions src/main/java/com/cnaude/purpleirc/LinkUpdater.java
Expand Up @@ -19,17 +19,19 @@
import org.bukkit.scheduler.BukkitTask;

/**
*
* @author Chris Naude This thread sends player info to linked bots.
* Sends player information to remotely links bots.
*
* @author Chris Naude
*/
public class LinkUpdater {

private final PurpleIRC plugin;
private final BukkitTask bt;

/**
*
* @param plugin
* Asynchronously send player information every 400 ticks.
*
* @param plugin the PurpleIRC plugin
*/
public LinkUpdater(final PurpleIRC plugin) {
this.plugin = plugin;
Expand All @@ -45,7 +47,8 @@ public void run() {
}

/**
*
* Cancel the scheduled BukkitTask. Call this when
* shutting down.
*/
public void cancel() {
bt.cancel();
Expand Down

0 comments on commit 72415c3

Please sign in to comment.