Package ch.njol.skript.command.Commands

Examples of ch.njol.skript.command.Commands.CommandAliasHelpTopic


      try {
        final Field topics = IndexHelpTopic.class.getDeclaredField("allTopics");
        topics.setAccessible(true);
        final ArrayList<HelpTopic> as = new ArrayList<HelpTopic>((Collection<HelpTopic>) topics.get(aliases));
        for (final String alias : activeAliases) {
          final HelpTopic at = new CommandAliasHelpTopic("/" + alias, "/" + getLabel(), help);
          as.add(at);
          helps.add(at);
        }
        Collections.sort(as, HelpTopicComparator.helpTopicComparatorInstance());
        topics.set(aliases, as);
View Full Code Here

TOP

Related Classes of ch.njol.skript.command.Commands.CommandAliasHelpTopic

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.