mirror of
https://github.com/GTNewHorizons/ForbiddenMagic.git
synced 2026-11-21 20:42:17 +00:00
Everything's coming up roses!
This commit is contained in:
1 parent
d53c041078
commit
859e8f0bc5
9 files changed
+71
-137
No files matched your search
@@ -356,14 +356,6 @@ public class FMEventHandler {
|
||||
return null;
|
||||
}
|
||||
|
||||
@SubscribeEvent
|
||||
public void onBonemeal(BonemealEvent event) {
|
||||
if (event.block == ForbiddenBlocks.blackFlower) {
|
||||
((BlockBlackFlower) ForbiddenBlocks.blackFlower).spreadFlowers(event.world, event.x, event.y, event.z, randy);
|
||||
event.setResult(Result.ALLOW);
|
||||
}
|
||||
}
|
||||
|
||||
@SubscribeEvent
|
||||
public void onSpawn(LivingSpawnEvent event) {
|
||||
if (event.entityLiving.worldObj.provider.dimensionId == -1 && event.entityLiving instanceof EntityPigZombie && randy.nextInt(175) == 1)
|
||||
|
||||
Reference in new issue
Block a user