Because it's not just Citizens that uses NPCs.

This commit is contained in:
gmcferrin
2013-01-10 12:18:48 -05:00
parent ec6b9d4387
commit bcfec56300
6 changed files with 12 additions and 12 deletions

View File

@ -27,7 +27,7 @@ public class MiningManager extends SkillManager{
* @param plugin mcMMO plugin instance
*/
public void detonate(PlayerInteractEvent event) {
if (Misc.isCitizensNPC(player)) {
if (Misc.isNPC(player)) {
return;
}
@ -62,7 +62,7 @@ public class MiningManager extends SkillManager{
* @param event Event whose explosion is being processed
*/
public void blastMiningDropProcessing(EntityExplodeEvent event) {
if (Misc.isCitizensNPC(player)) {
if (Misc.isNPC(player)) {
return;
}
@ -87,7 +87,7 @@ public class MiningManager extends SkillManager{
* @param event Event whose explosion damage is being reduced
*/
public void demolitionsExpertise(EntityDamageEvent event) {
if (Misc.isCitizensNPC(player)) {
if (Misc.isNPC(player)) {
return;
}
@ -104,7 +104,7 @@ public class MiningManager extends SkillManager{
* @param event Event whose explosion radius is being changed
*/
public void biggerBombs(ExplosionPrimeEvent event) {
if (Misc.isCitizensNPC(player)) {
if (Misc.isNPC(player)) {
return;
}