Skip to content

Commit

Permalink
Fix registering commands
Browse files Browse the repository at this point in the history
Naturally, the command I used for reference was the only broken command
in the plugin.
  • Loading branch information
Morphan1 committed May 28, 2016
1 parent 89cec52 commit 611dada
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Expand Up @@ -20,7 +20,7 @@ public class MobArenaSupport extends Support {
public MobArenaSupport() {
registerObjects(MobArenaArena.class);
registerAdditionalTags("mobarena");
new MobArenaCommand().activate().withOptions("See Documentation.", 1);
new MobArenaCommand().activate().as("mobarena").withOptions("See Documentation.", 1);
registerScriptEvents(new MobArenaStartsScriptEvent());
registerScriptEvents(new MobArenaEndsScriptEvent());
registerScriptEvents(new MobArenaWaveChangesScriptEvent());
Expand Down
Expand Up @@ -13,7 +13,7 @@ public MythicMobsSupport() {
registerObjects(MythicMobsMob.class);
registerProperty(MythicMobsEntityExtension.class, dEntity.class);
registerScriptEvents(new MythicMobsDeathEvent());
new MythicSpawnCommand().activate().withOptions("See Documentation", 2);
new MythicSpawnCommand().activate().as("mythicspawn").withOptions("See Documentation", 2);
}

}

0 comments on commit 611dada

Please sign in to comment.