mirror of
https://github.com/Auxilor/EcoEnchants.git
synced 2025-02-17 04:41:21 +01:00
Merge pull request #283 from RebelMythik/master
Fixed Replenish not breaking Cactus, Bamboo, and Chorus Flowers
This commit is contained in:
commit
aee13c0f7c
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user