Package com.sk89q.craftbook.mechanics.drops.rewards

Examples of com.sk89q.craftbook.mechanics.drops.rewards.DropReward


            if(config.getKeys("custom-drops." + key + ".rewards") != null) {
                for(String reward : config.getKeys("custom-drops." + key + ".rewards")) {

                    String rewardType = config.getString("custom-drops." + key + ".rewards." + reward + ".type", "None");

                    DropReward dropReward = null;

                    if(rewardType.equalsIgnoreCase("money")) {

                        double amount = config.getDouble("custom-drops." + key + ".rewards." + reward + ".amount", 10);
View Full Code Here

TOP

Related Classes of com.sk89q.craftbook.mechanics.drops.rewards.DropReward

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.