From c36c800bb5b3d25aeca2fe0d49745e8db72255a5 Mon Sep 17 00:00:00 2001 From: libraryaddict Date: Mon, 13 Apr 2015 14:05:50 +1200 Subject: [PATCH] AchievementManager: Add SnrMod as a min MP level of 15 --- .../src/mineplex/core/achievement/AchievementManager.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Plugins/Mineplex.Core/src/mineplex/core/achievement/AchievementManager.java b/Plugins/Mineplex.Core/src/mineplex/core/achievement/AchievementManager.java index bef0baba7..a93b46ba3 100644 --- a/Plugins/Mineplex.Core/src/mineplex/core/achievement/AchievementManager.java +++ b/Plugins/Mineplex.Core/src/mineplex/core/achievement/AchievementManager.java @@ -209,6 +209,8 @@ public class AchievementManager extends MiniPlugin level = Math.max(level, 50 + get(sender, Achievement.GLOBAL_GEM_HUNTER).getLevel()); else if (rank.Has(Rank.ADMIN)) level = Math.max(level, 30 + get(sender, Achievement.GLOBAL_GEM_HUNTER).getLevel()); + else if (rank.Has(Rank.SNR_MODERATOR)) + level = Math.max(level, 15); else if (rank.Has(Rank.MODERATOR)) level = Math.max(level, 5);