Fixed Green Terra & Super Breaker awarding 4x drops at high levels.

This commit is contained in:
GJ 2012-03-24 00:58:46 -04:00
parent 443b4a193c
commit adea5a5674
3 changed files with 2 additions and 3 deletions

View File

@ -9,6 +9,7 @@ Key:
Version 1.3.04-dev
= Fixed Shake ability dropping bonemeal instead of ink for squids.
= Fixed Green Terra & Super Breaker awarding 4x drops at high levels.
! Changed MySQL to reload all player information on reconnection
Version 1.3.03

View File

@ -179,7 +179,6 @@ public class mcBlockListener implements Listener {
/* Triple drops */
if (PP.getGreenTerraMode() && Herbalism.canBeGreenTerra(mat)) {
Herbalism.herbalismProcCheck(block, player, event, plugin);
Herbalism.herbalismProcCheck(block, player, event, plugin); //Called twice for triple drop functionality
}
if (mcPermissions.getInstance().herbalismDoubleDrops(player) && Herbalism.canBeGreenTerra(mat)) {

View File

@ -165,7 +165,7 @@ public class Mining
int skillLevel = Users.getProfile(player).getSkillLevel(SkillType.MINING);
if ((MAX_BONUS_LEVEL > 1000 || (Math.random() * 1000 <= skillLevel)) && mcPermissions.getInstance().miningDoubleDrops(player)) {
if ((skillLevel > MAX_BONUS_LEVEL || (Math.random() * 1000 <= skillLevel)) && mcPermissions.getInstance().miningDoubleDrops(player)) {
if (player.getItemInHand().containsEnchantment(Enchantment.SILK_TOUCH)) {
m.mcDropItem(block.getLocation(), new ItemStack(block.getType()));
}
@ -255,7 +255,6 @@ public class Mining
Bukkit.getPluginManager().callEvent(armswing);
Skills.abilityDurabilityLoss(player.getItemInHand(), durabilityLoss);
miningBlockCheck(player, block);
miningBlockCheck(player, block);
if (LoadProperties.spoutEnabled) {