mc.euro.version
mc.alk.virtualplayers.zlib.version
diff --git a/modules/VirtualPlayers/src/main/java/mc/alk/virtualplayers/VirtualPlayers.java b/modules/VirtualPlayers/src/main/java/mc/alk/virtualplayers/VirtualPlayers.java
index 8b4b602..8b25a26 100644
--- a/modules/VirtualPlayers/src/main/java/mc/alk/virtualplayers/VirtualPlayers.java
+++ b/modules/VirtualPlayers/src/main/java/mc/alk/virtualplayers/VirtualPlayers.java
@@ -7,6 +7,7 @@
import java.util.UUID;
import java.util.logging.Level;
+import mc.alk.battlepluginupdater.GitHubUpdater;
import mc.alk.virtualplayers.api.VirtualPlayer;
import mc.alk.virtualplayers.api.VirtualPlayerFactory;
import mc.alk.virtualplayers.api.VirtualPlayersAPI;
@@ -38,6 +39,9 @@ public void onEnable() {
getCommand("vdc").setExecutor(new PlayerExecutor(this));
getCommand("virtualplayers").setExecutor(new VPExecutor(this));
+ GitHubUpdater updater = new GitHubUpdater(this, "BattlePlugins", getDescription().getName());
+ updater.update();
+
new Metrics(this);
}
diff --git a/modules/api/src/main/java/mc/alk/virtualplayers/api/VirtualPlayersAPI.java b/modules/api/src/main/java/mc/alk/virtualplayers/api/VirtualPlayersAPI.java
index e62345a..9146079 100644
--- a/modules/api/src/main/java/mc/alk/virtualplayers/api/VirtualPlayersAPI.java
+++ b/modules/api/src/main/java/mc/alk/virtualplayers/api/VirtualPlayersAPI.java
@@ -16,7 +16,7 @@
public interface VirtualPlayersAPI {
/**
- * Returns all online players, including api.VirtualPlayers.
+ * Returns all online players, including api.VirtualPlayers.
*
* VirtualPlayers.getOnlinePlayers() :
* Using this method has an added bonus: It is backwards compatible.
diff --git a/modules/api/src/main/java/mc/alk/virtualplayers/util/InventoryUtil.java b/modules/api/src/main/java/mc/alk/virtualplayers/util/InventoryUtil.java
index e83b371..f654fb5 100644
--- a/modules/api/src/main/java/mc/alk/virtualplayers/util/InventoryUtil.java
+++ b/modules/api/src/main/java/mc/alk/virtualplayers/util/InventoryUtil.java
@@ -659,8 +659,8 @@ public boolean addAllEnchantments(ItemStack is) {
/**
* For Serializing an item or printing
*
- * @param is
- * @return
+ * @param is the item stack
+ * @return the item string
*/
public static String getItemString(ItemStack is) {
if (is == null) {
diff --git a/modules/api/src/main/java/mc/alk/virtualplayers/util/Util.java b/modules/api/src/main/java/mc/alk/virtualplayers/util/Util.java
index e818cc8..eebfb85 100644
--- a/modules/api/src/main/java/mc/alk/virtualplayers/util/Util.java
+++ b/modules/api/src/main/java/mc/alk/virtualplayers/util/Util.java
@@ -73,11 +73,11 @@ public static boolean removeListener(VPMessageListener listener) {
}
/**
- * Uses the location, chunk, & distance calculations.
+ * Uses the location, chunk, and distance calculations.
*
- * @param vp
- * @param radius
- * @return
+ * @param vp the virtual player
+ * @param radius the radius
+ * @return the nearby entities
*/
public static Collection getNearbyEntities(VirtualPlayer vp, int radius) {
Map emap = new HashMap();