Another small fix for mcMMO compatibility, also updated to 1.2

This commit is contained in:
H31IX committed 2012-06-02 13:55:46 -04:00
1 parent 4e27dacab3
commit b57883e795
6 files changed
+12 -9

No files matched your search

@@ -98,7 +98,7 @@ public final class Utilities
boolean b = false;
if(player.getServer().getPluginManager().getPlugin("mcMMO") != null)
{
if(mcMMO.p.getPlayerProfile(player).getAbilityMode(AbilityType.TREE_FELLER) || mcMMO.p.getPlayerProfile(player).getAbilityMode(AbilityType.SUPER_BREAKER))
if(mcMMO.p.getPlayerProfile(player).getAbilityMode(AbilityType.TREE_FELLER) || mcMMO.p.getPlayerProfile(player).getAbilityMode(AbilityType.SUPER_BREAKER) || mcMMO.p.getPlayerProfile(player).getAbilityMode(AbilityType.BERSERK))
{
b = true;
}