Made Greenhouse Glass and worm fertilizing less OP

This commit is contained in:
Ellpeck 2016-08-05 01:00:36 +02:00
parent 2a9a8ccbcc
commit 6f47dca08b
2 changed files with 2 additions and 2 deletions

View file

@ -78,7 +78,7 @@ public class EntityWorm extends Entity{
} }
} }
if(isFarmland && this.worldObj.rand.nextFloat() >= 0.8F){ if(isFarmland && this.worldObj.rand.nextFloat() >= 0.9F){
BlockPos plant = pos.up(); BlockPos plant = pos.up();
if(!this.worldObj.isAirBlock(plant)){ if(!this.worldObj.isAirBlock(plant)){
IBlockState plantState = this.worldObj.getBlockState(plant); IBlockState plantState = this.worldObj.getBlockState(plant);

View file

@ -66,7 +66,7 @@ public class TileEntityGreenhouseGlass extends TileEntityBase{
} }
} }
else{ else{
int time = 50; int time = 300;
this.timeUntilNextFert = time+Util.RANDOM.nextInt(time); this.timeUntilNextFert = time+Util.RANDOM.nextInt(time);
} }
} }