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

Commit

Permalink
Increased version number to 4.1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
PyvesB committed Jan 9, 2017
1 parent b1e5569 commit 5368b10
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 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>4.1.1</version>
<version>4.1.2</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
8 changes: 4 additions & 4 deletions src/main/java/com/hm/achievement/AdvancedAchievements.java
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@
* Spigot project page: spigotmc.org/resources/advanced-achievements.6239
*
* @since April 2015
* @version 4.1.1
* @version 4.1.2
* @author Pyves
*/
public class AdvancedAchievements extends JavaPlugin {
Expand Down Expand Up @@ -398,16 +398,16 @@ public void onEnable() {

if (!disabledCategorySet.contains(NormalAchievements.PETMASTERGIVE.toString())
|| !disabledCategorySet.contains(NormalAchievements.PETMASTERRECEIVE.toString())) {
// Need PetMaster with a minimum version of 1.3.
// Need PetMaster with a minimum version of 1.4.
if (Bukkit.getPluginManager().isPluginEnabled("PetMaster") && Integer.parseInt(Character.toString(
Bukkit.getPluginManager().getPlugin("PetMaster").getDescription().getVersion().charAt(2))) >= 3) {
Bukkit.getPluginManager().getPlugin("PetMaster").getDescription().getVersion().charAt(2))) >= 4) {
petMasterGiveReceiveListener = new AchievePetMasterGiveReceiveListener(this);
pm.registerEvents(petMasterGiveReceiveListener, this);
} else {
this.getLogger().warning(
"Failed to pair with Pet Master plugin; disabling PetMasterGive and PetMasterReceive categories.");
this.getLogger().warning(
"Ensure you have placed Pet Master with a minimum version of 1.3 in your plugins folder.");
"Ensure you have placed Pet Master with a minimum version of 1.4 in your plugins folder.");
this.getLogger().warning(
"If you do not wish to use these categories, you must add PetMasterGive and PetMasterReceive to the DisabledCategories list in your config.");
}
Expand Down
6 changes: 3 additions & 3 deletions src/main/resources/config.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#==============================O==============================#
# I---------------------------------------------------------I #
# | Advanced Achievements 4.1.1 configuration - Readme | #
# | Advanced Achievements 4.1.2 configuration - Readme | #
# 1---------------------------------------------------------1 #
#==============================o==============================#

Expand Down Expand Up @@ -510,14 +510,14 @@ EnderPearls:
Name: enderpearls_10
DisplayName: Teleport Man

# When a player gives a pet to another player (requires Pet Master plugin version 1.3 or above).
# When a player gives a pet to another player (requires Pet Master plugin version 1.4 or above).
PetMasterGive:
'3':
Message: 3 pets given to friends!
Name: petmastergive_3
DisplayName: Donator

# When a player receives a pet from another player (requires Pet Master plugin version 1.3 or above).
# When a player receives a pet from another player (requires Pet Master plugin version 1.4 or above).
PetMasterReceive:
'10':
Message: 10 pets received from friends!
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/lang.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#============================================================#
# +--------------------------------------------------------+ #
# | Advanced Achievements 4.1.1 English language file | #
# | Advanced Achievements 4.1.2 English language file | #
# | By DarkPyves | #
# +--------------------------------------------------------+ #
#============================================================#
Expand Down

0 comments on commit 5368b10

Please sign in to comment.