Biomes O' Plenty

Biomes O' Plenty

151M Downloads

[1.6.4] Berry bushes do not replenish

wwrpg opened this issue ยท 2 comments

commented

Berry bushes turn into bushes after the berry is removed but never re-grow the berry and stay a plain bush forever.

Fix:
The BlockBOPFoliage.java does not have the updateTick method.

 @Override
 public void updateTick(World world, int x, int y, int z, Random random)
 { 
     super.updateTick(world, x, y, z, random);

     if (world.isRemote)
         return;

     int meta = world.getBlockMetadata(x, y, z);
     // Plain Bush
     if (meta == 4){
         if (random.nextInt(25) == 0){
             // Becomes berry bush  
             world.setBlock(x, y, z, blockID, 8, 3);
         }
     } 
 }
commented

Not a bug, they aren't supposed to regrow.

commented

Ah, thanks for the clarification. Maybe something for a future release???