TODO: Look into double drops for berry bushes

This commit is contained in:
nossr50
2021-03-25 14:08:22 -07:00
parent e40ab38bbd
commit eea922c31f
6 changed files with 44 additions and 18 deletions

View File

@@ -111,16 +111,16 @@ public class HerbalismManager extends SkillManager {
mmoPlayer.getPlayer().sendMessage("Bush XP: " + xpReward);
}
//Check for double drops
if(checkDoubleDrop(blockState)) {
if(mmoPlayer.isDebugMode()) {
mmoPlayer.getPlayer().sendMessage("Double Drops succeeded for Berry Bush");
}
//Add metadata to mark this block for double or triple drops
markForBonusDrops(blockState);
}
// //Check for double drops
// if(checkDoubleDrop(blockState)) {
//
// if(mmoPlayer.isDebugMode()) {
// mmoPlayer.getPlayer().sendMessage("Double Drops succeeded for Berry Bush");
// }
//
// //Add metadata to mark this block for double or triple drops
// markForBonusDrops(blockState);
// }
applyXpGain(xpReward, XPGainReason.PVE, XPGainSource.SELF);
}