Another typo fix with permissions

This commit is contained in:
GJ 2012-03-29 22:35:44 -04:00
parent dfdf8b881e
commit 7de19f8087
3 changed files with 2 additions and 5 deletions

View File

@ -83,7 +83,7 @@ public class Combat {
if (mcPermissions.getInstance().impact(attacker)) { if (mcPermissions.getInstance().impact(attacker)) {
Axes.impact(attacker, target, event); Axes.impact(attacker, target, event);
} }
if (PPa.getAbilityMode(AbilityType.SKULL_SPLIITER) && mcPermissions.getInstance().skullSplitter(attacker)) { if (PPa.getAbilityMode(AbilityType.SKULL_SPLIITER) && mcPermissions.getInstance().skullSplitter(attacker)) {
applyAbilityAoE(attacker, target, event.getDamage(), plugin, SkillType.AXES); applyAbilityAoE(attacker, target, event.getDamage(), plugin, SkillType.AXES);
} }

View File

@ -8,7 +8,6 @@ import com.gmail.nossr50.commands.party.*;
import com.gmail.nossr50.commands.general.*; import com.gmail.nossr50.commands.general.*;
import com.gmail.nossr50.config.*; import com.gmail.nossr50.config.*;
import com.gmail.nossr50.runnables.*; import com.gmail.nossr50.runnables.*;
import com.gmail.nossr50.spout.SpoutStuff;
import com.gmail.nossr50.listeners.mcBlockListener; import com.gmail.nossr50.listeners.mcBlockListener;
import com.gmail.nossr50.listeners.mcEntityListener; import com.gmail.nossr50.listeners.mcEntityListener;
import com.gmail.nossr50.listeners.mcPlayerListener; import com.gmail.nossr50.listeners.mcPlayerListener;
@ -35,8 +34,6 @@ import org.bukkit.configuration.file.FileConfiguration;
import org.bukkit.configuration.file.YamlConfiguration; import org.bukkit.configuration.file.YamlConfiguration;
import org.bukkit.entity.Entity; import org.bukkit.entity.Entity;
import org.bukkit.entity.Player; import org.bukkit.entity.Player;
import org.getspout.spoutapi.SpoutManager;
import org.getspout.spoutapi.player.FileManager;
public class mcMMO extends JavaPlugin { public class mcMMO extends JavaPlugin {

View File

@ -301,7 +301,7 @@ permissions:
children: children:
mcmmo.ability.axes.skullsplitter: true mcmmo.ability.axes.skullsplitter: true
mcmmo.ability.axes.bonusdamage: true mcmmo.ability.axes.bonusdamage: true
mcmmo.ability.axes.critalhit: true mcmmo.ability.axes.criticalhit: true
mcmmo.ability.axes.impact: true mcmmo.ability.axes.impact: true
mcmmo.ability.axes.skullsplitter: mcmmo.ability.axes.skullsplitter:
description: Allows access to the Skull Splitter ability description: Allows access to the Skull Splitter ability