Skip to content
This repository was archived by the owner on Nov 2, 2021. It is now read-only.

Commit

Permalink
Increased version number to 5.0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
PyvesB committed Apr 13, 2017
1 parent 0726d92 commit a0676d0
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 12 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>com.hm.achievement</groupId>
<artifactId>AdvancedAchievements</artifactId>
<version>5.0.2</version>
<version>5.0.3</version>
<url>https://github.com/PyvesB/AdvancedAchievements</url>
<name>AdvancedAchievements</name>
<description>A Minecraft plugin that brings unique and challenging achievements on your server! Books, GUI, rankings, rewards, effects and more!</description>
Expand Down
18 changes: 10 additions & 8 deletions src/main/java/com/hm/achievement/AdvancedAchievements.java
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@
* Spigot project page: spigotmc.org/resources/advanced-achievements.6239
*
* @since April 2015
* @version 5.0.2
* @version 5.0.3
* @author Pyves
*/
public class AdvancedAchievements extends JavaPlugin {
Expand Down Expand Up @@ -239,7 +239,8 @@ public void onEnable() {
asyncCachedRequestsSender = new AsyncCachedRequestsSender(this);
// Schedule a repeating task to group database queries when statistics are modified.
asyncCachedRequestsSenderTask = Bukkit.getServer().getScheduler().runTaskTimerAsynchronously(this,
asyncCachedRequestsSender, asyncCachedRequestsSenderInterval * 40L, asyncCachedRequestsSenderInterval * 20L);
asyncCachedRequestsSender, asyncCachedRequestsSenderInterval * 40L,
asyncCachedRequestsSenderInterval * 20L);

// Schedule a repeating task to monitor played time for each player (not directly related to an event).
if (!disabledCategorySet.contains(NormalAchievements.PLAYEDTIME.toString())) {
Expand Down Expand Up @@ -454,15 +455,16 @@ private void registerListeners() {
|| !disabledCategorySet.contains(NormalAchievements.DISTANCEMINECART.toString())
|| !disabledCategorySet.contains(NormalAchievements.DISTANCEBOAT.toString())
|| !disabledCategorySet.contains(NormalAchievements.DISTANCEGLIDING.toString())
|| !disabledCategorySet.contains(NormalAchievements.DISTANCELLAMA.toString())) {
if (!disabledCategorySet.contains(NormalAchievements.ENDERPEARLS.toString())) {
teleportRespawnListener = new AchieveTeleportRespawnListener(this);
pm.registerEvents(teleportRespawnListener, this);
}
|| !disabledCategorySet.contains(NormalAchievements.DISTANCELLAMA.toString())
|| !disabledCategorySet.contains(NormalAchievements.ENDERPEARLS.toString())) {
teleportRespawnListener = new AchieveTeleportRespawnListener(this);
pm.registerEvents(teleportRespawnListener, this);
}

if (!disabledCategorySet.contains(NormalAchievements.PETMASTERGIVE.toString())
|| !disabledCategorySet.contains(NormalAchievements.PETMASTERRECEIVE.toString())) {
|| !disabledCategorySet.contains(NormalAchievements.PETMASTERRECEIVE.toString()))

{
petMasterGiveReceiveListener = new AchievePetMasterGiveReceiveListener(this);
pm.registerEvents(petMasterGiveReceiveListener, this);
}
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/config.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#==============================O==============================#
# I---------------------------------------------------------I #
# | Advanced Achievements 5.0.2 configuration - Readme | #
# | Advanced Achievements 5.0.3 configuration - Readme | #
# 1---------------------------------------------------------1 #
#==============================o==============================#

Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/gui.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#==============================================================#
# +----------------------------------------------------------+ #
# | Advanced Achievements 5.0.2 /aach list GUI configuration | #
# | Advanced Achievements 5.0.3 /aach list GUI configuration | #
# +----------------------------------------------------------+ #
#==============================================================#
# Possible items: hub.spigotmc.org/javadocs/bukkit/org/bukkit/Material.html
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/lang.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#=============================================================#
# +---------------------------------------------------------+ #
# | Advanced Achievements English translation by DarkPyves | #
# | ~ Valid as of version 5.0.2 ~ | #
# | ~ Valid as of version 5.0.3 ~ | #
# | Newer plugin versions will automatically append new | #
# | untranslated parameters to the end of the file. | #
# +---------------------------------------------------------+ #
Expand Down

0 comments on commit a0676d0

Please sign in to comment.