private static void GrassHandler( Player player, Command cmd )
{
if ( player.GetBind( Block.Dirt ) == Block.Grass ) {
player.ResetBind( Block.Dirt );
player.Message( "Grass: OFF" );
} else {
player.Bind( Block.Dirt, Block.Grass );
player.Message( "Grass: ON. Dirt blocks are replaced with grass." );
}
}