Acrobatics to SkillCommand

This commit is contained in:
GJ
2012-05-31 14:01:47 -04:00
parent 1bd9974f89
commit d15e189b7c
3 changed files with 57 additions and 84 deletions

View File

@@ -1,6 +1,7 @@
package com.gmail.nossr50;
import com.gmail.nossr50.datatypes.PlayerProfile;
import com.gmail.nossr50.datatypes.SkillType;
import com.gmail.nossr50.commands.skills.*;
import com.gmail.nossr50.commands.spout.*;
import com.gmail.nossr50.commands.mc.*;
@@ -284,7 +285,7 @@ public class mcMMO extends JavaPlugin {
//Register commands
//Skills commands
getCommand("acrobatics").setExecutor(new AcrobaticsCommand());
getCommand("acrobatics").setExecutor(new AcrobaticsCommand(SkillType.ACROBATICS));
getCommand("archery").setExecutor(new ArcheryCommand());
getCommand("axes").setExecutor(new AxesCommand());
getCommand("excavation").setExecutor(new ExcavationCommand());