mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-25 06:36:45 +01:00
Adding missing Double Drop entries for Woodcutting
This commit is contained in:
parent
dc4401ffb0
commit
0d3551c84b
@ -153,10 +153,13 @@ Version 2.2.0
|
||||
|
||||
Version 2.1.30
|
||||
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.
|
||||
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 DoubleDrop tables for Herbalism: Beetroot, Carrot, Cocoa_Beans, Melon_Slice, Potatoe
|
||||
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 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.
|
||||
|
||||
Version 2.1.29
|
||||
|
@ -1,12 +1,15 @@
|
||||
package com.gmail.nossr50.config;
|
||||
|
||||
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.reflect.TypeToken;
|
||||
import ninja.leaping.configurate.commented.CommentedConfigurationNode;
|
||||
import ninja.leaping.configurate.hocon.HoconConfigurationLoader;
|
||||
import ninja.leaping.configurate.loader.ConfigurationLoader;
|
||||
import ninja.leaping.configurate.objectmapping.ObjectMappingException;
|
||||
import org.bukkit.Material;
|
||||
|
||||
import java.io.File;
|
||||
import java.io.IOException;
|
||||
|
@ -419,7 +419,7 @@ Skills:
|
||||
#
|
||||
# Settings for Double Drops
|
||||
###
|
||||
Double_Drops:
|
||||
Bonus_Drops:
|
||||
Herbalism:
|
||||
Beetroots: true
|
||||
Beetroot: true
|
||||
@ -483,11 +483,17 @@ Double_Drops:
|
||||
Stone: true
|
||||
Cobblestone: true
|
||||
Woodcutting:
|
||||
Acacia_Wood: true
|
||||
Acacia_Log: true
|
||||
Birch_Wood: true
|
||||
Birch_Log: true
|
||||
Dark_Oak_Wood: true
|
||||
Dark_Oak_Log: true
|
||||
Oak_Wood: true
|
||||
Oak_Log: true
|
||||
Jungle_Wood: true
|
||||
Jungle_Log: true
|
||||
Spruce_Wood: true
|
||||
Spruce_Log: true
|
||||
|
||||
#
|
||||
|
Loading…
Reference in New Issue
Block a user