mirror of
				https://github.com/mcMMO-Dev/mcMMO.git
				synced 2025-11-04 02:53:43 +01:00 
			
		
		
		
	Added config values for Dirt & Smooth Brick to Green Terra.
Config values are useless when not implemented.
This commit is contained in:
		@@ -103,12 +103,12 @@ public class Herbalism
 | 
				
			|||||||
			if(hasSeeds(player) && block.getType() != Material.WHEAT)
 | 
								if(hasSeeds(player) && block.getType() != Material.WHEAT)
 | 
				
			||||||
			{
 | 
								{
 | 
				
			||||||
				removeSeeds(player);
 | 
									removeSeeds(player);
 | 
				
			||||||
			if(block.getType() == Material.SMOOTH_BRICK)
 | 
									if(LoadProperties.enableSmoothToMossy && block.getType() == Material.SMOOTH_BRICK)
 | 
				
			||||||
				block.setData((byte)1);
 | 
										block.setData((byte)1);
 | 
				
			||||||
			if(block.getType() == Material.DIRT)
 | 
									if(LoadProperties.enableDirtToGrass && block.getType() == Material.DIRT)
 | 
				
			||||||
				block.setType(Material.GRASS);
 | 
										block.setType(Material.GRASS);
 | 
				
			||||||
			if(LoadProperties.enableCobbleToMossy && block.getType() == Material.COBBLESTONE)
 | 
									if(LoadProperties.enableCobbleToMossy && block.getType() == Material.COBBLESTONE)
 | 
				
			||||||
				block.setType(Material.MOSSY_COBBLESTONE);
 | 
										block.setType(Material.MOSSY_COBBLESTONE);
 | 
				
			||||||
			}
 | 
								}
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user