mirror of
https://github.com/GTNewHorizons/BloodMagic.git
synced 2026-11-19 11:49:13 +00:00
Expanded affected plants
Essentially the same change made to RitualEffectGrowth- ie, plants that implement IGrowable but not IPlantable will now be included in the accelerated growth effect.
This commit is contained in:
1 parent
951984e75c
commit
2a493b80b9
1 file changed
+2
-1
@@ -20,6 +20,7 @@ import net.minecraftforge.common.IPlantable;
|
||||
import net.minecraftforge.common.MinecraftForge;
|
||||
import net.minecraftforge.event.entity.player.BonemealEvent;
|
||||
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public class SigilOfGrowth extends EnergyItems implements ArmourUpgrade
|
||||
@@ -191,7 +192,7 @@ public class SigilOfGrowth extends EnergyItems implements ArmourUpgrade
|
||||
Block block = par2World.getBlock(ix, iy, iz);
|
||||
|
||||
|
||||
if (block instanceof IPlantable)
|
||||
if (block instanceof IPlantable || block instanceof IGrowable)
|
||||
{
|
||||
if (par2World.rand.nextInt(50) == 0)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user