Adding missing Double Drop entries for Woodcutting

This commit is contained in:
nossr50 2019-03-29 18:11:32 -07:00
parent dc4401ffb0
commit 0d3551c84b
3 changed files with 15 additions and 3 deletions

View File

@ -153,10 +153,13 @@ Version 2.2.0
Version 2.1.30 Version 2.1.30
Fixed double drops behaving oddly Fixed double drops behaving oddly
Double_Drop config table has been renamed to Bonus_Drops, this is to jankily auto-update everyones config
DoubleDrop config tables now must contain all things that can possibly be doubled, such as the Ore block, the ore itself, etc. DoubleDrop config tables now must contain all things that can possibly be doubled, such as the Ore block, the ore itself, etc.
Added the following items to the DoubleDrop tables for Mining: Coal, Diamond, Emerald, Glowstone_Dust, Iron_Ingot, Lapis_Lazuli, Nether_Quartz, Redstone, Cobblestone Added the following items to the Bonus_Drops tables for Mining: Coal, Diamond, Emerald, Glowstone_Dust, Iron_Ingot, Lapis_Lazuli, Nether_Quartz, Redstone, Cobblestone
Added the following items to the DoubleDrop tables for Herbalism: Beetroot, Carrot, Cocoa_Beans, Melon_Slice, Potatoe Added the following items to the Bonus_Drops tables for Herbalism: Beetroot, Carrot, Cocoa_Beans, Melon_Slice, Potatoe
Added the following items to the Bonus_Drops tables for Woodcutting: Birch_Wood, Spruce_Wood, Jungle_Wood, Dark_Oak_Wood, Oak_Wood, Acacia_Wood
NOTE: You don't need to update your configs for this one unless you had custom entries in the Double_Drop tables, the renaming of the key will auto-insert default values and give everyone correct defaults
NOTE: I'm gonna have to blame Bukkit on this one, several API methods I used are actually unfinished and kind of janky. So I hacked something together to make them work. NOTE: I'm gonna have to blame Bukkit on this one, several API methods I used are actually unfinished and kind of janky. So I hacked something together to make them work.
Version 2.1.29 Version 2.1.29

View File

@ -1,12 +1,15 @@
package com.gmail.nossr50.config; package com.gmail.nossr50.config;
import com.gmail.nossr50.mcMMO; import com.gmail.nossr50.mcMMO;
import com.gmail.nossr50.skills.woodcutting.Woodcutting;
import com.gmail.nossr50.util.StringUtils;
import com.google.common.io.Files; import com.google.common.io.Files;
import com.google.common.reflect.TypeToken; import com.google.common.reflect.TypeToken;
import ninja.leaping.configurate.commented.CommentedConfigurationNode; import ninja.leaping.configurate.commented.CommentedConfigurationNode;
import ninja.leaping.configurate.hocon.HoconConfigurationLoader; import ninja.leaping.configurate.hocon.HoconConfigurationLoader;
import ninja.leaping.configurate.loader.ConfigurationLoader; import ninja.leaping.configurate.loader.ConfigurationLoader;
import ninja.leaping.configurate.objectmapping.ObjectMappingException; import ninja.leaping.configurate.objectmapping.ObjectMappingException;
import org.bukkit.Material;
import java.io.File; import java.io.File;
import java.io.IOException; import java.io.IOException;

View File

@ -419,7 +419,7 @@ Skills:
# #
# Settings for Double Drops # Settings for Double Drops
### ###
Double_Drops: Bonus_Drops:
Herbalism: Herbalism:
Beetroots: true Beetroots: true
Beetroot: true Beetroot: true
@ -483,11 +483,17 @@ Double_Drops:
Stone: true Stone: true
Cobblestone: true Cobblestone: true
Woodcutting: Woodcutting:
Acacia_Wood: true
Acacia_Log: true Acacia_Log: true
Birch_Wood: true
Birch_Log: true Birch_Log: true
Dark_Oak_Wood: true
Dark_Oak_Log: true Dark_Oak_Log: true
Oak_Wood: true
Oak_Log: true Oak_Log: true
Jungle_Wood: true
Jungle_Log: true Jungle_Log: true
Spruce_Wood: true
Spruce_Log: true Spruce_Log: true
# #