Merge remote-tracking branch 'origin/master'

This commit is contained in:
Auxilor 2022-08-13 12:07:19 +02:00
commit 2856223878
2 changed files with 9 additions and 3 deletions

View File

@ -27,11 +27,15 @@ public class Replenish extends EcoEnchant {
return;
}
if (block.getType() == Material.SUGAR_CANE || block.getType() == Material.SWEET_BERRY_BUSH) {
if (block.getType() == Material.GLOW_BERRIES || block.getType() == Material.SWEET_BERRY_BUSH) {
return;
}
if (block.getType() == Material.GLOW_BERRIES) {
if (block.getType() == Material.CACTUS || block.getType() == Material.BAMBOO) {
return;
}
if (block.getType() == Material.CHORUS_FLOWER || block.getType() == Material.SUGAR_CANE) {
return;
}

View File

@ -30,6 +30,8 @@ config:
hardness-check: true # Only break blocks with hardness less than or equal to first block
blacklisted-blocks:
- bedrock
- end_portal_frame
- end_portal
base-bonus: 2 # Base extra blocks on all sides to break (1 = 3x3x3, 2 = 5x5x5, 3 = 7x7x7)
per-level-bonus: 1 # Extra blocks on all sides per level
not-while-sneaking: true
not-while-sneaking: true