Package net.citizensnpcs.questers.rewards

Examples of net.citizensnpcs.questers.rewards.Reward


        String path;
        for (String key : keys) {
            path = root + "." + key;
            boolean take = source.getBoolean(path + ".take", false);
            String type = source.getString(path + ".type");
            Reward builder = QuestAPI.getBuilder(type) == null ? null : QuestAPI.getBuilder(type).build(source, path,
                    take);
            if (builder != null) {
                rewards.add(builder);
            } else
                Messaging.log("Invalid type identifier " + type + " for reward at " + path + ": reward not loaded.");
View Full Code Here

TOP

Related Classes of net.citizensnpcs.questers.rewards.Reward

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.