Fixed Woodcutting accidentally using Mining double drop values.

This commit is contained in:
GJ
2013-01-22 01:56:54 -05:00
parent 5a9ca96a0f
commit 716c4d3783
3 changed files with 4 additions and 3 deletions

View File

@ -242,8 +242,8 @@ public class WoodCutting {
* @param block Block being broken
*/
private static void woodCuttingProcCheck(Player player, Block block) {
final int MAX_CHANCE = ADVANCED_CONFIG.getMiningDoubleDropChance();
final int MAX_BONUS_LEVEL = ADVANCED_CONFIG.getMiningDoubleDropMaxLevel();
final int MAX_CHANCE = ADVANCED_CONFIG.getWoodcuttingDoubleDropChance();
final int MAX_BONUS_LEVEL = ADVANCED_CONFIG.getWoodcuttingDoubleDropMaxLevel();
byte type = block.getData();
if ((type & 0x4) == 0x4)